Package org.apache.synapse.config
Interface SynapseObserver
-
- All Known Implementing Classes:
AbstractSynapseObserver,StatisticSynapseConfigurationObserver
public interface SynapseObserverAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapiAdded(API api)Event fired when a api is added to the configurationvoidapiRemoved(API api)Event fired when a API is removed from the configurationvoidapiUpdated(API api)Event fired when a API is updated in the configurationvoidendpointAdded(Endpoint endpoint)Event fired when an endpoint is added to the configurationvoidendpointRemoved(Endpoint endpoint)Event fired when an endpoint is removed from the configurationvoidentryAdded(Entry entry)Event fired when an entry is added to the configurationvoidentryRemoved(Entry entry)Event fired when an entry is removed from the configurationvoideventSourceAdded(SynapseEventSource eventSource)Event fired when an event source is added to the configurationvoideventSourceRemoved(SynapseEventSource eventSource)Event fired when an event source is removed from the configurationvoidinboundEndpointAdded(InboundEndpoint inboundEndpoint)Event fired when a Inbound Endpoint is added to the configurationvoidinboundEndpointRemoved(InboundEndpoint inboundEndpoint)Event fired when a Inbound Endpoint is removed to the configurationvoidinboundEndpointUpdated(InboundEndpoint inboundEndpoint)Event fired when a Inbound Endpoint is updated in the configurationvoidpriorityExecutorAdded(org.apache.synapse.commons.executors.PriorityExecutor exec)Event fired when a priority executor is added to the configurationvoidpriorityExecutorRemoved(org.apache.synapse.commons.executors.PriorityExecutor exec)Event fired when a priority executor is removed from the configurationvoidproxyServiceAdded(ProxyService proxy)Event fired when a proxy service is added to the configurationvoidproxyServiceRemoved(ProxyService proxy)Event fired when a proxy service is removed from the configurationvoidsequenceAdded(Mediator sequence)Event fired when a new sequence is added to the configurationvoidsequenceRemoved(Mediator sequence)Event fired when an existing sequence is removed from the configurationvoidsequenceTemplateAdded(Mediator template)Event fired when a new sequence template is added to the configurationvoidsequenceTemplateRemoved(Mediator template)Event fired when an existing sequence template is removed from the configurationvoidstartupAdded(Startup startup)Event fired when a startup is added to the configurationvoidstartupRemoved(Startup startup)Event fired when a startup is removed from the configurationvoidsynapseLibraryAdded(Library library)Event fired when a library is added to the configurationvoidsynapseLibraryRemoved(Library library)Event fired when a library 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
-
apiAdded
void apiAdded(API api)
Event fired when a api is added to the configuration- Parameters:
api- the API added to the configuration
-
apiRemoved
void apiRemoved(API api)
Event fired when a API is removed from the configuration- Parameters:
api- the API removed from the configuration
-
apiUpdated
void apiUpdated(API api)
Event fired when a API is updated in the configuration- Parameters:
api- the API updated in the configuration
-
inboundEndpointAdded
void inboundEndpointAdded(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is added to the configuration- Parameters:
inboundEndpoint- the Inbound Endpoint added to the configuration
-
inboundEndpointRemoved
void inboundEndpointRemoved(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is removed to the configuration- Parameters:
inboundEndpoint- the Inbound Endpoint removed to the configuration
-
inboundEndpointUpdated
void inboundEndpointUpdated(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is updated in the configuration- Parameters:
inboundEndpoint- the Inbound Endpoint updated in 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(org.apache.synapse.commons.executors.PriorityExecutor exec)
Event fired when a priority executor is added to the configuration- Parameters:
exec- the PriorityExecutor added to the configuration
-
priorityExecutorRemoved
void priorityExecutorRemoved(org.apache.synapse.commons.executors.PriorityExecutor exec)
Event fired when a priority executor is removed from the configuration- Parameters:
exec- the PriorityExecutor removed from the configuration
-
synapseLibraryAdded
void synapseLibraryAdded(Library library)
Event fired when a library is added to the configuration- Parameters:
library- the library added to the configuration
-
synapseLibraryRemoved
void synapseLibraryRemoved(Library library)
Event fired when a library is removed from the configuration- Parameters:
library- the library removed from the configuration
-
-