org.kuali.rice.kew.engine
Class WorkflowEngineFactoryImpl

java.lang.Object
  extended by org.kuali.rice.kew.engine.WorkflowEngineFactoryImpl
All Implemented Interfaces:
WorkflowEngineFactory, org.springframework.beans.factory.InitializingBean

public class WorkflowEngineFactoryImpl
extends Object
implements WorkflowEngineFactory, org.springframework.beans.factory.InitializingBean

An implementation of the WorkflowEngineFactory.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
WorkflowEngineFactoryImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Ensures that all dependencies were injected into this factory.
 ParameterService getParameterService()
           
 RouteHeaderService getRouteHeaderService()
           
 RouteNodeService getRouteNodeService()
           
<E extends WorkflowEngine>
E
newEngine(OrchestrationConfig config)
          Constructs a new WorkflowEngine instance using the passed in orchestration configuration.
 void setParameterService(ParameterService parameterService)
           
 void setRouteHeaderService(RouteHeaderService routeHeaderService)
           
 void setRouteNodeService(RouteNodeService routeNodeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowEngineFactoryImpl

public WorkflowEngineFactoryImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Ensures that all dependencies were injected into this factory.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
IllegalStateException - if any of the required services are null
See Also:
InitializingBean.afterPropertiesSet()

newEngine

public <E extends WorkflowEngine> E newEngine(OrchestrationConfig config)
Description copied from interface: WorkflowEngineFactory
Constructs a new WorkflowEngine instance using the passed in orchestration configuration.

Specified by:
newEngine in interface WorkflowEngineFactory
Returns:
a generic type that extends WorkflowEngine
See Also:
WorkflowEngineFactory.newEngine(org.kuali.rice.kew.engine.OrchestrationConfig)

getRouteNodeService

public RouteNodeService getRouteNodeService()
Returns:
the routeNodeService

setRouteNodeService

public void setRouteNodeService(RouteNodeService routeNodeService)
Parameters:
routeNodeService - the routeNodeService to set

getRouteHeaderService

public RouteHeaderService getRouteHeaderService()
Returns:
the routeHeaderService

setRouteHeaderService

public void setRouteHeaderService(RouteHeaderService routeHeaderService)
Parameters:
routeHeaderService - the routeHeaderService to set

getParameterService

public ParameterService getParameterService()
Returns:
the parameterService

setParameterService

public void setParameterService(ParameterService parameterService)
Parameters:
parameterService - the parameterService to set


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.