javax.slee
Interface RolledBackContext
- public interface RolledBackContext
This interface defines the context for an sbbRolledBack
method
invocation on an SBB abstract class. The SLEE provides an implementation of this interface.
Method Summary |
ActivityContextInterface |
getActivityContextInterface()
Get the ActivityContextInterface argument passed to the event handler
method invoked by the SLEE in the transaction that rolled back. |
java.lang.Object |
getEvent()
Get the event object that should have been handled by the transaction that rolled
back. |
boolean |
isRemoveRolledBack()
Determine if the transaction that rolled back included a SLEE-originated logical cascading
removal method invocation. |
getEvent
public java.lang.Object getEvent()
- Get the event object that should have been handled by the transaction that rolled
back. If the rolled back transaction was not started by the SLEE to invoke an
event handler method, this method returns
null
.
- Returns:
- the event object that should have been handled by the transaction that rolled
back, or
null
if the transaction was not started by the SLEE to
invoke an event handler method.
getActivityContextInterface
public ActivityContextInterface getActivityContextInterface()
- Get the
ActivityContextInterface
argument passed to the event handler
method invoked by the SLEE in the transaction that rolled back. If the rolled back
transaction was not started by the SLEE to invoke an event handler method, this method
returns null
.
- Returns:
- the
ActivityContextInterface
pass to the event handler method in
the transaction that rolled back, or null
if the transaction was not
started by the SLEE to invoke an event handler method.
isRemoveRolledBack
public boolean isRemoveRolledBack()
- Determine if the transaction that rolled back included a SLEE-originated logical cascading
removal method invocation.
- Returns:
true
if the transaction that rolled back included a SLEE-originated
logical cascading removal method invocation, false
otherwise.