com.hammurapi.review
Class ReviewDriverBase

java.lang.Object
  extended by com.hammurapi.review.ReviewDriverBase
All Implemented Interfaces:
Component<Component>, Callable<Object>
Direct Known Subclasses:
SessionPoolingReviewDriver

public abstract class ReviewDriverBase
extends Object
implements Callable<Object>, Component<Component>

This class performs reviews invoking other review framework components.

Author:
Pavel Vlasov

Constructor Summary
ReviewDriverBase()
           
 
Method Summary
 Object call()
          Loads component definition resource and executes review.
protected abstract  com.hammurapi.reasoning.ForwardReasoningSessionFactory<Object> createInspectorSetSessionFactory(InspectorSet inspectorSet, FactoryConfig moduleFactoryConfig)
           
 void init(ConfigurationContext<Component> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReviewDriverBase

public ReviewDriverBase()
Method Detail

init

public void init(ConfigurationContext<Component> context)
          throws ConfigurationException
Specified by:
init in interface Component<Component>
Throws:
ConfigurationException

call

public Object call()
            throws Exception
Loads component definition resource and executes review.

Specified by:
call in interface Callable<Object>
Parameters:
componentConfig -
Throws:
ConfigurationException
Exception

createInspectorSetSessionFactory

protected abstract com.hammurapi.reasoning.ForwardReasoningSessionFactory<Object> createInspectorSetSessionFactory(InspectorSet inspectorSet,
                                                                                                                   FactoryConfig moduleFactoryConfig)
                                                                                                            throws ConfigurationException,
                                                                                                                   com.hammurapi.reasoning.ReasoningException
Throws:
ConfigurationException
com.hammurapi.reasoning.ReasoningException