Package org.glassfish.ejb.spi
Interface MessageBeanClient
-
public interface MessageBeanClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()MessageBeanContainer calls this to shutdown MessageBeanClient.voidsetup(MessageBeanProtocolManager pm)First method called by MessageBeanContainer during bootstrapping.voidstart()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 ExceptionMessageBeanContainer calls this when it is ready handle message delivery.- Throws:
Exception
-
close
void close()
MessageBeanContainer calls this to shutdown MessageBeanClient.
-
-