public interface EJBClientContextListener
EJBClientContextListener
can be registered to an EJBClientContext
to listen to the lifecycle events of the contextModifier and Type | Method and Description |
---|---|
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 |
void contextClosed(EJBClientContext ejbClientContext)
EJBClientContext
to which this
listener is registered is closed
ejbClientContext
- The EJB client context which was closedvoid receiverRegistered(EJBReceiverContext receiverContext)
EJBReceiver
is registered to a EJBClientContext
receiverContext
- The EJBReceiverContext
which was associated to the EJBClientContext
when the EJBReceiver
was registered with the contextvoid receiverUnRegistered(EJBReceiverContext receiverContext)
EJBReceiver
is unregistered from a EJBClientContext
receiverContext
- The EJBReceiverContext
which was disassociated from the EJBClientContext
when the EJBReceiver
was unregistered from the contextCopyright © 2015 JBoss by Red Hat. All Rights Reserved.