org.apache.synapse.config
Interface SynapseObserver

All Known Implementing Classes:
AbstractSynapseObserver, SimpleLoggingObserver

public interface SynapseObserver

An implementation of this interface can be registered with the SynapseConfiguration to receive configuration update events. Whenever a new item is added to the configuration or an existing item is removed the events defined in this interface will be fired.


Method Summary
 void endpointAdded(Endpoint endpoint)
          Event fired when an endpoint is added to the configuration
 void endpointRemoved(Endpoint endpoint)
          Event fired when an endpoint is removed from the configuration
 void entryAdded(Entry entry)
          Event fired when an entry is added to the configuration
 void entryRemoved(Entry entry)
          Event fired when an entry is removed from the configuration
 void eventSourceAdded(SynapseEventSource eventSource)
          Event fired when an event source is added to the configuration
 void eventSourceRemoved(SynapseEventSource eventSource)
          Event fired when an event source is removed from the configuration
 void priorityExecutorAdded(PriorityExecutor exec)
          Event fired when a priority executor is added to the configuration
 void priorityExecutorRemoved(PriorityExecutor exec)
          Event fired when a priority executor is removed from the configuration
 void proxyServiceAdded(ProxyService proxy)
          Event fired when a proxy service is added to the configuration
 void proxyServiceRemoved(ProxyService proxy)
          Event fired when a proxy service is removed from the configuration
 void sequenceAdded(Mediator sequence)
          Event fired when a new sequence is added to the configuration
 void sequenceRemoved(Mediator sequence)
          Event fired when an existing sequence is removed from the configuration
 void sequenceTemplateAdded(Mediator template)
          Event fired when a new sequence template is added to the configuration
 void sequenceTemplateRemoved(Mediator template)
          Event fired when an existing sequence template is removed from the configuration
 void startupAdded(Startup startup)
          Event fired when a startup is added to the configuration
 void startupRemoved(Startup startup)
          Event fired when a startup is removed from the configuration
 

Method Detail

sequenceAdded

void sequenceAdded(Mediator sequence)
Event fired when a new sequence is added to the configuration

Parameters:
sequence - the Sequence mediator added to the configuration

sequenceRemoved

void sequenceRemoved(Mediator sequence)
Event fired when an existing sequence is removed from the configuration

Parameters:
sequence - the Sequence removed from the configuration

sequenceTemplateAdded

void sequenceTemplateAdded(Mediator template)
Event fired when a new sequence template is added to the configuration

Parameters:
template - the Sequence mediator added to the configuration

sequenceTemplateRemoved

void sequenceTemplateRemoved(Mediator template)
Event fired when an existing sequence template is removed from the configuration

Parameters:
template - the Sequence removed from the configuration

entryAdded

void entryAdded(Entry entry)
Event fired when an entry is added to the configuration

Parameters:
entry - the Entry added to the configuration

entryRemoved

void entryRemoved(Entry entry)
Event fired when an entry is removed from the configuration

Parameters:
entry - the Entry removed from the configuration

endpointAdded

void endpointAdded(Endpoint endpoint)
Event fired when an endpoint is added to the configuration

Parameters:
endpoint - the Endpoint added to the configuration

endpointRemoved

void endpointRemoved(Endpoint endpoint)
Event fired when an endpoint is removed from the configuration

Parameters:
endpoint - the Endpoint removed from the configuration

proxyServiceAdded

void proxyServiceAdded(ProxyService proxy)
Event fired when a proxy service is added to the configuration

Parameters:
proxy - the ProxyService added to the configuration

proxyServiceRemoved

void proxyServiceRemoved(ProxyService proxy)
Event fired when a proxy service is removed from the configuration

Parameters:
proxy - the ProxyService removed from the configuration

startupAdded

void startupAdded(Startup startup)
Event fired when a startup is added to the configuration

Parameters:
startup - the Startup added to the configuration

startupRemoved

void startupRemoved(Startup startup)
Event fired when a startup is removed from the configuration

Parameters:
startup - the Startup removed from the configuration

eventSourceAdded

void eventSourceAdded(SynapseEventSource eventSource)
Event fired when an event source is added to the configuration

Parameters:
eventSource - the SynapseEventSource added to the configuration

eventSourceRemoved

void eventSourceRemoved(SynapseEventSource eventSource)
Event fired when an event source is removed from the configuration

Parameters:
eventSource - the SynapseEventSource removed from the configuration

priorityExecutorAdded

void priorityExecutorAdded(PriorityExecutor exec)
Event fired when a priority executor is added to the configuration

Parameters:
exec - the PriorityExecutor added to the configuration

priorityExecutorRemoved

void priorityExecutorRemoved(PriorityExecutor exec)
Event fired when a priority executor is removed from the configuration

Parameters:
exec - the PriorityExecutor removed from the configuration


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.