Package org.glassfish.ejb.spi
Interface MessageBeanClient
-
- All Known Implementing Classes:
ConnectorMessageBeanClient
public interface MessageBeanClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
MessageBeanContainer calls this to shutdown MessageBeanClient.void
setup(MessageBeanProtocolManager pm)
First method called by MessageBeanContainer during bootstrapping.void
start()
MessageBeanContainer calls this when it is ready handle message delivery.
-
-
-
Method Detail
-
setup
void setup(MessageBeanProtocolManager pm) throws Exception
First method called by MessageBeanContainer during bootstrapping. Allow the MessageBeanClient to initialize itself. Message delivery should not begin until start is called.- Parameters:
pm
- MessageBeanProtocolManager allows the MessageBeanClient to access the services provided by the MessageBeanContainer.- Throws:
Exception
-
start
void start() throws Exception
MessageBeanContainer calls this when it is ready handle message delivery.- Throws:
Exception
-
close
void close()
MessageBeanContainer calls this to shutdown MessageBeanClient.
-
-