public interface ServiceNodeActivityContextInterfaceFactory
JNDI_NAME
.ServiceNodeActivity
,
ServiceNodeActivityFactory
Modifier and Type | Field and Description |
---|---|
static String |
JNDI_NAME
Constant declaring the JNDI name where a `ServiceActivityContextInterfaceFactory` object is bound into an SBB's JNDI environment.
|
Modifier and Type | Method and Description |
---|---|
ActivityContextInterface |
getActivityContextInterface(ServiceNodeActivity activity)
Get an `ActivityContextInterface` object for a Service Node Activity.
|
static final String JNDI_NAME
ActivityContextInterface getActivityContextInterface(ServiceNodeActivity activity) throws NullPointerException, TransactionRequiredLocalException, UnrecognizedActivityException, FactoryException
activity
- the Service Node Activity.NullPointerException
- if `activity` is `null`.TransactionRequiredLocalException
- if this method is invoked without a valid transaction context.UnrecognizedActivityException
- if `activity` is not a valid Service Node Activity created by the SLEE.FactoryException
- if the `ActivityContextInterface` object could not be created due to a system-level failure.