javax.slee.nullactivity
Interface NullActivity
- public interface NullActivity
This interface is implemented by null activity objects. Null activities can be
used by SBBs that need to create an event channel and manage its lifecycle
independent of other SLEE or resource adaptor activities.
- See Also:
NullActivityFactory
,
NullActivityContextInterfaceFactory
Method Summary |
void |
endActivity()
End the null activity. |
endActivity
public void endActivity()
throws TransactionRequiredLocalException,
SLEEException
- End the null activity. If the null activity is already ending (or has
already ended) this method has no further effect.
This method is a mandatory transactional method. The null activity will
only end if the transaction invoking this method commits successfully.
- Throws:
TransactionRequiredLocalException
- if this method is invoked without a valid transaction
context.SLEEException
- if the activity could not be ended due to a system-level
failure.