Package org.apache.synapse.config
Interface SynapseObserver
-
- All Known Implementing Classes:
AbstractSynapseObserver
,StatisticSynapseConfigurationObserver
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apiAdded(API api)
Event fired when a api is added to the configurationvoid
apiRemoved(API api)
Event fired when a API is removed from the configurationvoid
apiUpdated(API api)
Event fired when a API is updated in the configurationvoid
endpointAdded(Endpoint endpoint)
Event fired when an endpoint is added to the configurationvoid
endpointRemoved(Endpoint endpoint)
Event fired when an endpoint is removed from the configurationvoid
entryAdded(Entry entry)
Event fired when an entry is added to the configurationvoid
entryRemoved(Entry entry)
Event fired when an entry is removed from the configurationvoid
eventSourceAdded(SynapseEventSource eventSource)
Event fired when an event source is added to the configurationvoid
eventSourceRemoved(SynapseEventSource eventSource)
Event fired when an event source is removed from the configurationvoid
inboundEndpointAdded(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is added to the configurationvoid
inboundEndpointRemoved(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is removed to the configurationvoid
inboundEndpointUpdated(InboundEndpoint inboundEndpoint)
Event fired when a Inbound Endpoint is updated in the configurationvoid
priorityExecutorAdded(org.apache.synapse.commons.executors.PriorityExecutor exec)
Event fired when a priority executor is added to the configurationvoid
priorityExecutorRemoved(org.apache.synapse.commons.executors.PriorityExecutor exec)
Event fired when a priority executor is removed from the configurationvoid
proxyServiceAdded(ProxyService proxy)
Event fired when a proxy service is added to the configurationvoid
proxyServiceRemoved(ProxyService proxy)
Event fired when a proxy service is removed from the configurationvoid
sequenceAdded(Mediator sequence)
Event fired when a new sequence is added to the configurationvoid
sequenceRemoved(Mediator sequence)
Event fired when an existing sequence is removed from the configurationvoid
sequenceTemplateAdded(Mediator template)
Event fired when a new sequence template is added to the configurationvoid
sequenceTemplateRemoved(Mediator template)
Event fired when an existing sequence template is removed from the configurationvoid
startupAdded(Startup startup)
Event fired when a startup is added to the configurationvoid
startupRemoved(Startup startup)
Event fired when a startup is removed from the configurationvoid
synapseLibraryAdded(Library library)
Event fired when a library is added to the configurationvoid
synapseLibraryRemoved(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
-
-