Name

MessageDrivenBean

Synopsis

The base interface for all message-driven EJBs. Message-driven beans must implement this interface so that the EJB container can invoke the necessary callbacks during the bean’s lifetime.

                  Returned By
public interface MessageDrivenBean extends EnterpriseBean {
// Public Instance Methods
   public abstract void ejbRemove() throws EJBException;  
   public abstract void setMessageDrivenContext(
        MessageDrivenContext ctx) throws EJBException;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.