Interface SessionOwnershipActivityContextInterfaceFactory
- 
 public interface SessionOwnershipActivityContextInterfaceFactoryThe Session Ownership Activity Context Interface Factory is used by SBBs to obtain an ActivityContextInterfaceobject for a session ownership activity.An SBB obtains access to a SessionOwnershipActivityContextInterfaceFactoryobject via its JNDI environment. The Session Ownership Activity Context Interface Factory is bound into JNDI using the name specified byJNDI_NAME. An SBB may also bind a Session Ownership Activity Context Interface Factory into another location using theactivity-context-interface-factory-nameelement ofresource-adaptor-type-bindingin the SBB deployment descriptor.- Since:
- Rhino 2.6.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityContextInterfacegetActivityContextInterface(SessionOwnershipActivity activity)Get anActivityContextInterfaceobject for a session ownership activity.
 
- 
- 
- 
Field Detail- 
JNDI_NAMEstatic final String JNDI_NAME Constant declaring the JNDI name where a SessionOwnershipActivityContextInterfaceFactoryobject is bound into an SBB’s JNDI environment.The value of this constant is "java:comp/env/rhino/sessionownership/activitycontextinterfacefactory". - Since:
- Rhino 2.6.1
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getActivityContextInterfaceActivityContextInterface getActivityContextInterface(SessionOwnershipActivity activity) throws NullPointerException, TransactionRequiredLocalException, UnrecognizedActivityException, FactoryException Get an ActivityContextInterfaceobject for a session ownership activity.This method is a mandatory transactional method. - Parameters:
- activity- the session ownership activity.
- Returns:
- an ActivityContextInterfaceobject that encapsulates the session ownership activity.
- Throws:
- NullPointerException- if- activityis- null.
- TransactionRequiredLocalException- if this method is invoked without a valid transaction context.
- UnrecognizedActivityException- if- activityis not a valid session ownership activity.
- FactoryException- if the- ActivityContextInterfaceobject could not be created due to a system-level failure.
- Since:
- Rhino 2.6.1
 
 
- 
 
-