org.apache.camel.impl
Class DefaultLifecycleStrategy

java.lang.Object
  extended by org.apache.camel.impl.DefaultLifecycleStrategy
All Implemented Interfaces:
LifecycleStrategy

public class DefaultLifecycleStrategy
extends Object
implements LifecycleStrategy

Default implementation of the lifecycle strategy.


Constructor Summary
DefaultLifecycleStrategy()
           
 
Method Summary
 void onContextStart(CamelContext context)
          Notification on starting a CamelContext.
 void onEndpointAdd(Endpoint endpoint)
          Notification on adding an Endpoint.
 void onRouteContextCreate(RouteContext routeContext)
          Notification on adding RouteContext(s).
 void onRoutesAdd(Collection<Route> routes)
          Notification on adding Route(s).
 void onServiceAdd(CamelContext context, Service service)
          Notification on adding a Service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecycleStrategy

public DefaultLifecycleStrategy()
Method Detail

onContextStart

public void onContextStart(CamelContext context)
Description copied from interface: LifecycleStrategy
Notification on starting a CamelContext.

Specified by:
onContextStart in interface LifecycleStrategy
Parameters:
context - the camel context

onEndpointAdd

public void onEndpointAdd(Endpoint endpoint)
Description copied from interface: LifecycleStrategy
Notification on adding an Endpoint.

Specified by:
onEndpointAdd in interface LifecycleStrategy
Parameters:
endpoint - the added endpoint

onServiceAdd

public void onServiceAdd(CamelContext context,
                         Service service)
Description copied from interface: LifecycleStrategy
Notification on adding a Service.

Specified by:
onServiceAdd in interface LifecycleStrategy
Parameters:
context - the camel context
service - the added service

onRoutesAdd

public void onRoutesAdd(Collection<Route> routes)
Description copied from interface: LifecycleStrategy
Notification on adding Route(s).

Specified by:
onRoutesAdd in interface LifecycleStrategy
Parameters:
routes - the added routes

onRouteContextCreate

public void onRouteContextCreate(RouteContext routeContext)
Description copied from interface: LifecycleStrategy
Notification on adding RouteContext(s).

Specified by:
onRouteContextCreate in interface LifecycleStrategy
Parameters:
routeContext - the added route context


Apache CAMEL