public class SimpleSimulationRunFactory extends Object implements org.springframework.beans.factory.FactoryBean<SimulationRun>
Modifier and Type | Field and Description |
---|---|
protected Map<String,SimulationEventHandler> |
customEventHandlerMap |
protected org.springframework.beans.factory.FactoryBean<EventCalendar> |
eventCalendar |
protected HashMap<String,SimulationEventHandler> |
eventHandlerMap |
protected JobExecutor |
jobExecutor |
protected org.springframework.beans.factory.FactoryBean<ProcessEngineImpl> |
processEngine |
Constructor and Description |
---|
SimpleSimulationRunFactory() |
Modifier and Type | Method and Description |
---|---|
SimulationRun |
getObject() |
Class<? extends SimulationRun> |
getObjectType() |
boolean |
isSingleton() |
void |
setCustomEventHandlerMap(Map<String,SimulationEventHandler> customEventHandlerMap) |
void |
setEventCalendar(org.springframework.beans.factory.FactoryBean<EventCalendar> eventCalendar) |
void |
setEventHandlerMap(HashMap<String,SimulationEventHandler> eventHandlerMap) |
void |
setJobExecutor(JobExecutor jobExecutor) |
void |
setProcessEngine(org.springframework.beans.factory.FactoryBean<ProcessEngineImpl> processEngine) |
protected Map<String,SimulationEventHandler> customEventHandlerMap
protected HashMap<String,SimulationEventHandler> eventHandlerMap
protected org.springframework.beans.factory.FactoryBean<ProcessEngineImpl> processEngine
protected org.springframework.beans.factory.FactoryBean<EventCalendar> eventCalendar
protected JobExecutor jobExecutor
public SimulationRun getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<SimulationRun>
Exception
public Class<? extends SimulationRun> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<SimulationRun>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<SimulationRun>
public void setCustomEventHandlerMap(Map<String,SimulationEventHandler> customEventHandlerMap)
public void setEventHandlerMap(HashMap<String,SimulationEventHandler> eventHandlerMap)
public void setProcessEngine(org.springframework.beans.factory.FactoryBean<ProcessEngineImpl> processEngine)
public void setEventCalendar(org.springframework.beans.factory.FactoryBean<EventCalendar> eventCalendar)
public void setJobExecutor(JobExecutor jobExecutor)
Copyright © 2016 Alfresco. All rights reserved.