org.apache.camel.util
Class EventHelper

java.lang.Object
  extended by org.apache.camel.util.EventHelper

public final class EventHelper
extends Object

Helper for easily sending event notifications in a single line of code

Version:
$Revision: 898746 $

Method Summary
static void notifyCamelContextStarted(CamelContext context)
           
static void notifyCamelContextStarting(CamelContext context)
           
static void notifyCamelContextStartupFailed(CamelContext context, Exception cause)
           
static void notifyCamelContextStopFailed(CamelContext context, Exception cause)
           
static void notifyCamelContextStopped(CamelContext context)
           
static void notifyCamelContextStopping(CamelContext context)
           
static void notifyExchangeCreated(CamelContext context, Exchange exchange)
           
static void notifyExchangeDone(CamelContext context, Exchange exchange)
           
static void notifyExchangeFailed(CamelContext context, Exchange exchange)
           
static void notifyExchangeFailureHandled(CamelContext context, Exchange exchange, Processor failureHandler, boolean deadLetterChannel)
           
static void notifyRouteStarted(CamelContext context, Route route)
           
static void notifyRouteStopped(CamelContext context, Route route)
           
static void notifyServiceStartupFailure(CamelContext context, Object service, Exception cause)
           
static void notifyServiceStopFailure(CamelContext context, Object service, Exception cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notifyCamelContextStarting

public static void notifyCamelContextStarting(CamelContext context)

notifyCamelContextStarted

public static void notifyCamelContextStarted(CamelContext context)

notifyCamelContextStartupFailed

public static void notifyCamelContextStartupFailed(CamelContext context,
                                                   Exception cause)

notifyCamelContextStopping

public static void notifyCamelContextStopping(CamelContext context)

notifyCamelContextStopped

public static void notifyCamelContextStopped(CamelContext context)

notifyCamelContextStopFailed

public static void notifyCamelContextStopFailed(CamelContext context,
                                                Exception cause)

notifyServiceStopFailure

public static void notifyServiceStopFailure(CamelContext context,
                                            Object service,
                                            Exception cause)

notifyServiceStartupFailure

public static void notifyServiceStartupFailure(CamelContext context,
                                               Object service,
                                               Exception cause)

notifyRouteStarted

public static void notifyRouteStarted(CamelContext context,
                                      Route route)

notifyRouteStopped

public static void notifyRouteStopped(CamelContext context,
                                      Route route)

notifyExchangeCreated

public static void notifyExchangeCreated(CamelContext context,
                                         Exchange exchange)

notifyExchangeDone

public static void notifyExchangeDone(CamelContext context,
                                      Exchange exchange)

notifyExchangeFailed

public static void notifyExchangeFailed(CamelContext context,
                                        Exchange exchange)

notifyExchangeFailureHandled

public static void notifyExchangeFailureHandled(CamelContext context,
                                                Exchange exchange,
                                                Processor failureHandler,
                                                boolean deadLetterChannel)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.