Interface ServiceNodeActivityFactory
-
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 byJNDI_NAME
.- Since:
- Rhino 2.6.1
- See Also:
ServiceNodeActivity
,ServiceNodeActivityContextInterfaceFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceNodeActivity
getActivity()
Get the Service Node Activity object for the invoking SBB.
-
-
-
Field Detail
-
JNDI_NAME
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".
- Since:
- Rhino 2.6.1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActivity
ServiceNodeActivity getActivity() throws TransactionRequiredLocalException, FactoryException
Get the Service Node Activity object for the invoking SBB.
This method is a mandatory transactional method.
- Throws:
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.- Since:
- Rhino 2.6.1
-
-