public class JBPMTransactionTemplate extends org.springmodules.workflow.jbpm31.JbpmTemplate implements TransactionListener
| Constructor and Description |
|---|
JBPMTransactionTemplate() |
JBPMTransactionTemplate(org.jbpm.JbpmConfiguration jbpmConfiguration) |
JBPMTransactionTemplate(org.jbpm.JbpmConfiguration jbpmConfiguration,
org.jbpm.graph.def.ProcessDefinition processDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit()
Invoked after transaction commit.
|
void |
afterPropertiesSet() |
void |
afterRollback()
Invoked after transaction rollback.
|
void |
beforeCommit(boolean readOnly)
Called before a transaction is committed.
|
void |
beforeCompletion()
Invoked before transaction commit/rollback.
|
boolean |
equals(java.lang.Object obj) |
void |
flush() |
protected org.jbpm.JbpmContext |
getContext() |
int |
hashCode() |
protected void |
releaseContext(org.jbpm.JbpmContext jbpmContext) |
execute, findPooledTaskInstances, findPooledTaskInstances, findProcessInstance, findProcessInstances, findTaskInstances, findTaskInstances, findTaskInstances, findTaskInstancesByToken, findTaskInstancesByToken, getContextName, getHibernateTemplate, getProcessDefinition, saveProcessInstance, setContextName, setHibernateTemplate, setProcessDefinition, signal, signal, signalpublic JBPMTransactionTemplate()
public JBPMTransactionTemplate(org.jbpm.JbpmConfiguration jbpmConfiguration,
org.jbpm.graph.def.ProcessDefinition processDefinition)
public JBPMTransactionTemplate(org.jbpm.JbpmConfiguration jbpmConfiguration)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springmodules.workflow.jbpm31.JbpmTemplatejava.lang.Exceptionprotected org.jbpm.JbpmContext getContext()
getContext in class org.springmodules.workflow.jbpm31.JbpmTemplateprotected void releaseContext(org.jbpm.JbpmContext jbpmContext)
releaseContext in class org.springmodules.workflow.jbpm31.JbpmTemplatepublic void flush()
flush in interface TransactionListenerpublic void beforeCommit(boolean readOnly)
All transaction resources are still available.
beforeCommit in interface TransactionListenerreadOnly - true if the transaction is read-onlypublic void beforeCompletion()
TransactionListener.beforeCommit(boolean) even if TransactionListener.beforeCommit(boolean)
failed.
All transaction resources are still available.
beforeCompletion in interface TransactionListenerpublic void afterCommit()
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.
afterCommit in interface TransactionListenerpublic void afterRollback()
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a rollback has occured.
afterRollback in interface TransactionListenerpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.