|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageDrivenBean
The MessageDrivenBean interface is implemented by every message-driven enterprise Bean class. The container uses the MessageDrivenBean methods to notify the enterprise Bean instances of the instance's life cycle events.
Method Summary | |
---|---|
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
void |
setMessageDrivenContext(MessageDrivenContext ctx)
Set the associated message-driven context. |
Method Detail |
---|
void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException
ctx
- A MessageDrivenContext interface for the instance.
EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.void ejbRemove() throws EJBException
EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |