org.apache.camel.management
Class EventNotifierSupport

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.management.EventNotifierSupport
All Implemented Interfaces:
Service, ShutdownableService, EventNotifier
Direct Known Subclasses:
JmxNotificationEventNotifier, LoggingEventNotifier, NagiosEventNotifier, PublishEventNotifier

public abstract class EventNotifierSupport
extends ServiceSupport
implements EventNotifier

Base class to extend for custom EventNotifier implementations.

Version:
$Revision: 20312 $

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
EventNotifierSupport()
           
 
Method Summary
 boolean isIgnoreCamelContextEvents()
           
 boolean isIgnoreExchangeCompletedEvent()
           
 boolean isIgnoreExchangeCreatedEvent()
           
 boolean isIgnoreExchangeEvents()
           
 boolean isIgnoreExchangeFailedEvents()
           
 boolean isIgnoreExchangeRedeliveryEvents()
           
 boolean isIgnoreExchangeSentEvents()
           
 boolean isIgnoreRouteEvents()
           
 boolean isIgnoreServiceEvents()
           
 void setIgnoreCamelContextEvents(boolean ignoreCamelContextEvents)
           
 void setIgnoreExchangeCompletedEvent(boolean ignoreExchangeCompletedEvent)
           
 void setIgnoreExchangeCreatedEvent(boolean ignoreExchangeCreatedEvent)
           
 void setIgnoreExchangeEvents(boolean ignoreExchangeEvents)
           
 void setIgnoreExchangeFailedEvents(boolean ignoreExchangeFailedEvents)
           
 void setIgnoreExchangeRedeliveryEvents(boolean ignoreExchangeRedeliveryEvents)
           
 void setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents)
           
 void setIgnoreRouteEvents(boolean ignoreRouteEvents)
           
 void setIgnoreServiceEvents(boolean ignoreServiceEvents)
           
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doStart, doStop, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.camel.spi.EventNotifier
isEnabled, notify
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

EventNotifierSupport

public EventNotifierSupport()
Method Detail

isIgnoreCamelContextEvents

public boolean isIgnoreCamelContextEvents()
Specified by:
isIgnoreCamelContextEvents in interface EventNotifier

setIgnoreCamelContextEvents

public void setIgnoreCamelContextEvents(boolean ignoreCamelContextEvents)
Specified by:
setIgnoreCamelContextEvents in interface EventNotifier

isIgnoreRouteEvents

public boolean isIgnoreRouteEvents()
Specified by:
isIgnoreRouteEvents in interface EventNotifier

setIgnoreRouteEvents

public void setIgnoreRouteEvents(boolean ignoreRouteEvents)
Specified by:
setIgnoreRouteEvents in interface EventNotifier

isIgnoreServiceEvents

public boolean isIgnoreServiceEvents()
Specified by:
isIgnoreServiceEvents in interface EventNotifier

setIgnoreServiceEvents

public void setIgnoreServiceEvents(boolean ignoreServiceEvents)
Specified by:
setIgnoreServiceEvents in interface EventNotifier

isIgnoreExchangeEvents

public boolean isIgnoreExchangeEvents()
Specified by:
isIgnoreExchangeEvents in interface EventNotifier

setIgnoreExchangeEvents

public void setIgnoreExchangeEvents(boolean ignoreExchangeEvents)
Specified by:
setIgnoreExchangeEvents in interface EventNotifier

isIgnoreExchangeCreatedEvent

public boolean isIgnoreExchangeCreatedEvent()
Specified by:
isIgnoreExchangeCreatedEvent in interface EventNotifier

setIgnoreExchangeCreatedEvent

public void setIgnoreExchangeCreatedEvent(boolean ignoreExchangeCreatedEvent)
Specified by:
setIgnoreExchangeCreatedEvent in interface EventNotifier

isIgnoreExchangeCompletedEvent

public boolean isIgnoreExchangeCompletedEvent()
Specified by:
isIgnoreExchangeCompletedEvent in interface EventNotifier

setIgnoreExchangeCompletedEvent

public void setIgnoreExchangeCompletedEvent(boolean ignoreExchangeCompletedEvent)
Specified by:
setIgnoreExchangeCompletedEvent in interface EventNotifier

isIgnoreExchangeFailedEvents

public boolean isIgnoreExchangeFailedEvents()
Specified by:
isIgnoreExchangeFailedEvents in interface EventNotifier

setIgnoreExchangeFailedEvents

public void setIgnoreExchangeFailedEvents(boolean ignoreExchangeFailedEvents)
Specified by:
setIgnoreExchangeFailedEvents in interface EventNotifier

isIgnoreExchangeRedeliveryEvents

public boolean isIgnoreExchangeRedeliveryEvents()
Specified by:
isIgnoreExchangeRedeliveryEvents in interface EventNotifier

setIgnoreExchangeRedeliveryEvents

public void setIgnoreExchangeRedeliveryEvents(boolean ignoreExchangeRedeliveryEvents)
Specified by:
setIgnoreExchangeRedeliveryEvents in interface EventNotifier

isIgnoreExchangeSentEvents

public boolean isIgnoreExchangeSentEvents()
Specified by:
isIgnoreExchangeSentEvents in interface EventNotifier

setIgnoreExchangeSentEvents

public void setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents)
Specified by:
setIgnoreExchangeSentEvents in interface EventNotifier


Apache CAMEL