Interface ServiceNodeActivityContextInterfaceFactory
-
public interface ServiceNodeActivityContextInterfaceFactoryThe Service Node Activity Context Interface Factory is used by SBBs to obtain an
ActivityContextInterfaceobject for a Service Node Activity.An SBB obtains access to a
ServiceNodeActivityContextInterfaceFactoryobject via its JNDI environment. The Service Node Activity Context Interface Factory is bound into JNDI using the name specified byJNDI_NAME.- Since:
- Rhino 2.6.1
- See Also:
ServiceNodeActivity,ServiceNodeActivityFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityContextInterfacegetActivityContextInterface(ServiceNodeActivity activity)Get anActivityContextInterfaceobject for a Service Node Activity.
-
-
-
Field Detail
-
JNDI_NAME
static final String JNDI_NAME
Constant declaring the JNDI name where a
ServiceActivityContextInterfaceFactoryobject is bound into an SBB’s JNDI environment.The value of this constant is "java:comp/env/rhino/servicenodeactivity/activitycontextinterfacefactory".
- Since:
- Rhino 2.6.1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActivityContextInterface
ActivityContextInterface getActivityContextInterface(ServiceNodeActivity activity) throws NullPointerException, TransactionRequiredLocalException, UnrecognizedActivityException, FactoryException
Get an
ActivityContextInterfaceobject for a Service Node Activity.This method is a mandatory transactional method.
- Parameters:
activity- the Service Node Activity.- Returns:
- an
ActivityContextInterfaceobject that encapsulates the Service Node Activity. - Throws:
NullPointerException- ifactivityisnull.TransactionRequiredLocalException- if this method is invoked without a valid transaction context.UnrecognizedActivityException- ifactivityis not a valid Service Node Activity created by the SLEE.FactoryException- if theActivityContextInterfaceobject could not be created due to a system-level failure.- Since:
- Rhino 2.6.1
-
-