Protomatter Classes v1.1.6

com.protomatter.j2ee.ejb
Class ProtoMessageEJB

java.lang.Object
  |
  +--com.protomatter.j2ee.ejb.ProtoEJB
        |
        +--com.protomatter.j2ee.ejb.ProtoMessageEJB
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, javax.jms.MessageListener, java.io.Serializable, SyslogChannelAware

public abstract class ProtoMessageEJB
extends ProtoEJB
implements javax.ejb.MessageDrivenBean

Message Driven EJB base class.

See Also:
Serialized Form

Fields inherited from class com.protomatter.j2ee.ejb.ProtoEJB
COMP_ENV_CHANNEL_LIST
 
Constructor Summary
ProtoMessageEJB()
          Default constructor.
 
Method Summary
 void ejbRemove()
          EJB removal callback.
protected  javax.ejb.MessageDrivenContext getMessageContext()
          Get the message context.
 void setMessageDrivenContext(javax.ejb.MessageDrivenContext context)
          Set the message context.
 
Methods inherited from class com.protomatter.j2ee.ejb.ProtoEJB
close, close, close, getComponentContext, getSyslogChannel, initSyslogChannelList, setChannelList, setChannelList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageListener
onMessage
 

Constructor Detail

ProtoMessageEJB

public ProtoMessageEJB()
Default constructor.
Method Detail

setMessageDrivenContext

public void setMessageDrivenContext(javax.ejb.MessageDrivenContext context)
Set the message context. Also calls initSyslogChannelList() to read the channel list from the deployment information.
Specified by:
setMessageDrivenContext in interface javax.ejb.MessageDrivenBean

getMessageContext

protected javax.ejb.MessageDrivenContext getMessageContext()
Get the message context.

ejbRemove

public void ejbRemove()
EJB removal callback. This implementation does nothing.
Specified by:
ejbRemove in interface javax.ejb.MessageDrivenBean

Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6