|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceActivityFactory
The Service Activity Factory is used by SBBs to get their Service activity object.
An SBB obtains access to a ServiceActivityFactory object via
its JNDI environment. The Service Activity Factory is bound into JNDI using
the name specified by JNDI_NAME.
ServiceActivity,
ServiceActivityContextInterfaceFactory| Field Summary | |
|---|---|
static java.lang.String |
JNDI_NAME
Constant declaring the JNDI name where a ServiceActivityFactory
object is bound into an SBB's JNDI environment. |
| Method Summary | |
|---|---|
ServiceActivity |
getActivity()
Get the Service activity object for the invoking SBB. |
| Field Detail |
|---|
static final java.lang.String JNDI_NAME
ServiceActivityFactory
object is bound into an SBB's JNDI environment.
The value of this constant is "java:comp/env/slee/serviceactivity/factory".
| Method Detail |
|---|
ServiceActivity getActivity()
throws TransactionRequiredLocalException,
FactoryException
As this method takes no arguments, it is the responsibility of the SLEE to provide an appropriate implementation for the SBBs in each Service.
This method is a mandatory transactional method.
TransactionRequiredLocalException - if this method is invoked without a
valid transaction context.
FactoryException - if the Service activity could not be obtained due to a
system-level failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||