com.ninecode.email.beans.slave.dictionary
Class Dictionary
java.lang.Object
|
+--com.ninecode.email.beans.slave.Robot
|
+--com.ninecode.email.beans.slave.dictionary.Dictionary
- All Implemented Interfaces:
- EnterpriseBean, MessageDrivenBean, MessageListener, Serializable
- public class Dictionary
- extends Robot
Message driven bean to handle Dictionary requests.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mDictionaryBean
protected DictionaryBean mDictionaryBean
Dictionary
public Dictionary()
ejbCreate
public void ejbCreate()
throws CreateException
- Startup call.
Connects the bean to the database.
- Overrides:
ejbCreate
in class Robot
- Throws:
CreateException
- If the initial context could not be
established or does not contain the 'jdbc/Dictionary' entry or
the database connection could not be obtained.
ejbRemove
public void ejbRemove()
throws EJBException
- Shutdown call.
Closes the database connection.
- Specified by:
ejbRemove
in interface MessageDrivenBean
- Overrides:
ejbRemove
in class Robot
- Throws:
EJBException
- if the close operation failed.
onMessage
public void onMessage(Message message)
- Process a message.
- Specified by:
onMessage
in interface MessageListener
- Specified by:
onMessage
in class Robot
- Parameters:
message
- The message to process.- See Also:
Robot.replyMessage(javax.jms.Message, java.lang.String, java.lang.String)
Copyright © 2003 Derrick Oswald. All rights reserved.