org.glassfish.ejb.spi
Interface MessageBeanClient


public interface MessageBeanClient


Method Summary
 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.



Copyright © 2012 GlassFish Community. All Rights Reserved.