|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultLifecycleStrategy
public class DefaultLifecycleStrategy
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 |
---|
public DefaultLifecycleStrategy()
Method Detail |
---|
public void onContextStart(CamelContext context)
LifecycleStrategy
CamelContext
.
onContextStart
in interface LifecycleStrategy
context
- the camel contextpublic void onEndpointAdd(Endpoint endpoint)
LifecycleStrategy
Endpoint
.
onEndpointAdd
in interface LifecycleStrategy
endpoint
- the added endpointpublic void onServiceAdd(CamelContext context, Service service)
LifecycleStrategy
Service
.
onServiceAdd
in interface LifecycleStrategy
context
- the camel contextservice
- the added servicepublic void onRoutesAdd(Collection<Route> routes)
LifecycleStrategy
Route
(s).
onRoutesAdd
in interface LifecycleStrategy
routes
- the added routespublic void onRouteContextCreate(RouteContext routeContext)
LifecycleStrategy
RouteContext
(s).
onRouteContextCreate
in interface LifecycleStrategy
routeContext
- the added route context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |