JBoss EJB client 2.0.0.Beta4

org.jboss.ejb.client
Interface EJBClientContextListener


public interface EJBClientContextListener

An EJBClientContextListener can be registered to an EJBClientContext to listen to the lifecycle events of the context

Author:
Jaikiran Pai

Method Summary
 void contextClosed(EJBClientContext ejbClientContext)
          This method will be invoked when the EJBClientContext to which this listener is registered is closed
 void receiverRegistered(EJBReceiverContext receiverContext)
          This method will be invoked when a EJBReceiver is registered to a EJBClientContext
 void receiverUnRegistered(EJBReceiverContext receiverContext)
          This method will be invoked when a EJBReceiver is unregistered from a EJBClientContext
 

Method Detail

contextClosed

void contextClosed(EJBClientContext ejbClientContext)
This method will be invoked when the EJBClientContext to which this listener is registered is closed

Parameters:
ejbClientContext - The EJB client context which was closed

receiverRegistered

void receiverRegistered(EJBReceiverContext receiverContext)
This method will be invoked when a EJBReceiver is registered to a EJBClientContext

Parameters:
receiverContext - The EJBReceiverContext which was associated to the EJBClientContext when the EJBReceiver was registered with the context

receiverUnRegistered

void receiverUnRegistered(EJBReceiverContext receiverContext)
This method will be invoked when a EJBReceiver is unregistered from a EJBClientContext

Parameters:
receiverContext - The EJBReceiverContext which was disassociated from the EJBClientContext when the EJBReceiver was unregistered from the context

JBoss EJB client 2.0.0.Beta4

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.