站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

ManagedJbpmContext (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.core
Class ManagedJbpmContext

java.lang.Object
  extended by org.jboss.seam.core.ManagedJbpmContext
All Implemented Interfaces:
Synchronization

@Scope(value=EVENT)
@Name(value="org.jboss.seam.core.jbpmContext")
@Intercept(value=NEVER)
@Install(precedence=0,
         dependencies="org.jboss.seam.core.jbpm")
public class ManagedJbpmContext
extends Object
implements Synchronization

Manages a reference to a JbpmSession.

Version:
$Revision: 1.23 $
Author:
Steve Ebersole

Constructor Summary
ManagedJbpmContext()
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 void create()
           
 void destroy()
           
 org.jbpm.JbpmContext getJbpmContext()
           
static org.jbpm.JbpmContext instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedJbpmContext

public ManagedJbpmContext()
Method Detail

create

@Create
public void create()
            throws NamingException,
                   RollbackException,
                   SystemException
Throws:
NamingException
RollbackException
SystemException

getJbpmContext

@Unwrap
public org.jbpm.JbpmContext getJbpmContext()
                                    throws NamingException,
                                           RollbackException,
                                           SystemException
Throws:
NamingException
RollbackException
SystemException

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization

destroy

@Destroy
public void destroy()

instance

public static org.jbpm.JbpmContext instance()