|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessEngine
central starting point for all process engine API interactions. This is a thread safe object so it can be kept in a static member field or in JNDI or something similar from which all threads (requests) will fetch the same ProcessEngine object.
Method Summary | ||
---|---|---|
void |
close()
clean shutdown of the engine. |
|
|
execute(Command<T> command)
perform a user command. |
|
|
get(java.lang.Class<T> type)
retrieve and object defined in the process engine by type |
|
java.lang.Object |
get(java.lang.String name)
retrieve and object defined in the process engine by name |
|
ExecutionService |
getExecutionService()
the execution service that provides access
to the runtime executions repository. |
|
HistoryService |
getHistoryService()
the history service that provides access
to the history executions repository. |
|
IdentityService |
getIdentityService()
the identity service that exposes the
user and group operations management operations. |
|
ManagementService |
getManagementService()
the management service that exposes the
management operations to operators that have to keep the jBPM system
up and running. |
|
RepositoryService |
getRepositoryService()
the repository service that provides access
to the process repository. |
|
TaskService |
getTaskService()
the task service that exposes the
runtime human task lists. |
|
ProcessEngine |
setAuthenticatedUserId(java.lang.String authenticatedUserId)
sets the authenticated user's id for the next invocation of a service method in the same thread. |
|
ProcessEngine |
setHibernateSession(java.lang.Object hibernateSession)
sets the hibernate session for the next invocation of a service method in the same thread. |
|
ProcessEngine |
setJdbcConnection(java.sql.Connection jdbcConnection)
sets the hibernate session for the next invocation of a service method in the same thread. |
Method Detail |
---|
RepositoryService getRepositoryService()
repository service
that provides access
to the process repository.
ExecutionService getExecutionService()
execution service
that provides access
to the runtime executions repository.
HistoryService getHistoryService()
history service
that provides access
to the history executions repository.
TaskService getTaskService()
task service
that exposes the
runtime human task lists.
IdentityService getIdentityService()
identity service
that exposes the
user and group operations management operations.
ManagementService getManagementService()
management service
that exposes the
management operations to operators that have to keep the jBPM system
up and running.
<T> T get(java.lang.Class<T> type)
java.lang.Object get(java.lang.String name)
ProcessEngine setAuthenticatedUserId(java.lang.String authenticatedUserId)
ProcessEngine setHibernateSession(java.lang.Object hibernateSession)
ProcessEngine setJdbcConnection(java.sql.Connection jdbcConnection)
<T> T execute(Command<T> command)
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |