public interface ServiceNodeActivityFactory
The Service Node Activity Factory is used by SBBs to get their Service Node Activity object.
An SBB obtains access to a ServiceNodeActivityFactory object via its JNDI environment.
The Service Node Activity Factory is bound into JNDI using the name specified by JNDI_NAME.
ServiceNodeActivity,
ServiceNodeActivityContextInterfaceFactory| Modifier and Type | Field and Description |
|---|---|
static String |
JNDI_NAME
Constant declaring the JNDI name where a
ServiceNodeActivityFactory object is bound into an SBB’s JNDI environment. |
| Modifier and Type | Method and Description |
|---|---|
ServiceNodeActivity |
getActivity()
Get the Service Node Activity object for the invoking SBB.
|
static final String JNDI_NAME
Constant declaring the JNDI name where a ServiceNodeActivityFactory object is bound into an SBB’s JNDI environment.
The value of this constant is "java:comp/env/rhino/servicenodeactivity/factory".
ServiceNodeActivity getActivity() throws TransactionRequiredLocalException, FactoryException
Get the Service Node Activity object for the invoking SBB.
This method is a mandatory transactional method.
TransactionRequiredLocalException - if this method is invoked without a valid transaction context.FactoryException - if the Service Node Activity could not be obtained due to a system-level failure.