org.apache.servicemix.nmr.management
Class ManagementEndpointRegistry

java.lang.Object
  extended by org.apache.servicemix.nmr.management.ManagementEndpointRegistry
All Implemented Interfaces:
EventListener, ExchangeListener, Listener

public class ManagementEndpointRegistry
extends Object
implements ExchangeListener


Constructor Summary
ManagementEndpointRegistry()
           
 
Method Summary
 void bindManagementStrategy(org.fusesource.commons.management.ManagementStrategy ms)
           
 void destroy()
           
 void exchangeDelivered(Exchange exchange)
          Method called each time an exchange is delivered
 void exchangeFailed(Exchange exchange)
          Method called when an exchange resulted in an exception to be thrown and the exchange not delivered.
 void exchangeSent(Exchange exchange)
          Method called each time an exchange is sent
 void init()
           
 void register(InternalEndpoint endpoint)
           
protected  void registerAll()
           
protected  void registerEndpoint(InternalEndpoint iep)
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 void unregister(InternalEndpoint endpoint)
           
protected  void unregisterAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementEndpointRegistry

public ManagementEndpointRegistry()
Method Detail

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)

init

public void init()

destroy

public void destroy()

bindManagementStrategy

public void bindManagementStrategy(org.fusesource.commons.management.ManagementStrategy ms)

registerAll

protected void registerAll()

unregisterAll

protected void unregisterAll()

registerEndpoint

protected void registerEndpoint(InternalEndpoint iep)

register

public void register(InternalEndpoint endpoint)

unregister

public void unregister(InternalEndpoint endpoint)

exchangeSent

public void exchangeSent(Exchange exchange)
Description copied from interface: ExchangeListener
Method called each time an exchange is sent

Specified by:
exchangeSent in interface ExchangeListener
Parameters:
exchange - the exchange sent

exchangeDelivered

public void exchangeDelivered(Exchange exchange)
Description copied from interface: ExchangeListener
Method called each time an exchange is delivered

Specified by:
exchangeDelivered in interface ExchangeListener
Parameters:
exchange - the delivered exchange

exchangeFailed

public void exchangeFailed(Exchange exchange)
Description copied from interface: ExchangeListener
Method called when an exchange resulted in an exception to be thrown and the exchange not delivered. This can happen if no endpoint can be found for the target or if something else bad happen.

Specified by:
exchangeFailed in interface ExchangeListener
Parameters:
exchange - the exchange that failed


Copyright © 2005-2012 FuseSource. All Rights Reserved.