| java.lang.Object jms.service.ServiceAvailabilityBean
ServiceAvailabilityBean | public class ServiceAvailabilityBean implements MessageDrivenBean,MessageListener(Code) | | This is a simple MDB that processes a message containing an integer
that represents a zip code, and returns a message containing a
boolean indicating whether DSL service is available at that zip code
or not.
Internally the bean just returns true for zip codes < 50000 and
false otherwise.
|
Field Summary | |
MessageDrivenContext | context |
context | MessageDrivenContext context(Code) | | |
ejbCreate | public void ejbCreate() throws EJBException(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
onMessage | public void onMessage(Message msg)(Code) | | |
setMessageDrivenContext | public void setMessageDrivenContext(MessageDrivenContext context)(Code) | | |
|
|