|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NullActivityFactory
The Null Activity Factory is used by SBBs to create new null activities.
An SBB obtains access to a NullActivityFactory object via its
JNDI environment. The Null Activity Factory is bound into JNDI using the
name specified by JNDI_NAME.
NullActivity,
NullActivityContextInterfaceFactory| Field Summary | |
|---|---|
static java.lang.String |
JNDI_NAME
Constant declaring the JNDI name where a NullActivityFactory
object is bound into an SBB's JNDI environment. |
| Method Summary | |
|---|---|
NullActivity |
createNullActivity()
Create a new null activity. |
| Field Detail |
|---|
static final java.lang.String JNDI_NAME
NullActivityFactory
object is bound into an SBB's JNDI environment.
The value of this constant is "java:comp/env/slee/nullactivity/factory".
| Method Detail |
|---|
NullActivity createNullActivity()
throws TransactionRequiredLocalException,
FactoryException
This method is a mandatory transactional method. The null activity will only be created if the transaction invoking this method commits successfully.
TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.
FactoryException - if the null activity could not be created due to a
system-level failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||