org.jbpm.pvm.internal.processengine
Class SpringProcessEngine

java.lang.Object
  extended by org.jbpm.pvm.internal.processengine.ProcessEngineImpl
      extended by org.jbpm.pvm.internal.processengine.SpringProcessEngine
All Implemented Interfaces:
java.io.Serializable, ProcessEngine, Context, EnvironmentFactory

public class SpringProcessEngine
extends ProcessEngineImpl

this environment factory will see only the singleton beans. The created SpringEnvironments will see the prototype beans and it will cache them.

Author:
Andries Inze
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.pvm.internal.processengine.ProcessEngineImpl
authenticatedUserIdThreadLocal, JBPM_LIBRARY_VERSION, processEngineWireContext, transactionWireDefinition, userCommandService, userProvidedEnvironmentObjectsThreadLocal
 
Fields inherited from interface org.jbpm.pvm.internal.env.Context
CONTEXTNAME_EXECUTION, CONTEXTNAME_JOB, CONTEXTNAME_PROCESS_ENGINE, CONTEXTNAME_TASK, CONTEXTNAME_TRANSACTION
 
Constructor Summary
SpringProcessEngine()
           
 
Method Summary
static ProcessEngine create(ConfigurationImpl configuration)
           
<T> T
get(java.lang.Class<T> type)
           
 java.lang.Object get(java.lang.String key)
           
 EnvironmentImpl openEnvironment()
          open a new EnvironmentImpl.
 
Methods inherited from class org.jbpm.pvm.internal.processengine.ProcessEngineImpl
addProcessEngineWireDefinition, addTransactionWireDefinition, addUserProvidedEnvironmentObject, checkDb, close, execute, getExecutionService, getHistoryService, getIdentityService, getManagementService, getName, getProcessEngineWireContext, getRepositoryService, getTaskService, getTransactionWireDefinition, has, initializeProcessEngine, installAuthenticatedUserId, installProcessEngineContext, installTransactionContext, keys, parseXmlString, set, setAuthenticatedUserId, setHibernateSession, setJdbcConnection, setProcessEngineWireContext, setTransactionWireDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringProcessEngine

public SpringProcessEngine()
Method Detail

create

public static ProcessEngine create(ConfigurationImpl configuration)

openEnvironment

public EnvironmentImpl openEnvironment()
Description copied from interface: EnvironmentFactory
open a new EnvironmentImpl. The client is responsible for closing the environment with EnvironmentImpl.close().

Specified by:
openEnvironment in interface EnvironmentFactory
Overrides:
openEnvironment in class ProcessEngineImpl

get

public <T> T get(java.lang.Class<T> type)
Specified by:
get in interface ProcessEngine
Specified by:
get in interface Context
Overrides:
get in class ProcessEngineImpl

get

public java.lang.Object get(java.lang.String key)
Specified by:
get in interface ProcessEngine
Specified by:
get in interface Context
Overrides:
get in class ProcessEngineImpl


Copyright © 2010 JBoss Community. All Rights Reserved.