|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.management.InstrumentationLifecycleStrategy
public class InstrumentationLifecycleStrategy
JMX agent that registeres Camel lifecycle events in JMX.
| Constructor Summary | |
|---|---|
InstrumentationLifecycleStrategy()
|
|
InstrumentationLifecycleStrategy(InstrumentationAgent agent)
|
|
InstrumentationLifecycleStrategy(InstrumentationAgent agent,
CamelContext context)
Constructor for camel context that has been started. |
|
| Method Summary | |
|---|---|
CamelNamingStrategy |
getNamingStrategy()
|
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. |
void |
setAgent(InstrumentationAgent agent)
|
void |
setNamingStrategy(CamelNamingStrategy strategy)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentationLifecycleStrategy()
public InstrumentationLifecycleStrategy(InstrumentationAgent agent)
public InstrumentationLifecycleStrategy(InstrumentationAgent agent,
CamelContext context)
agent - the agentcontext - the camel context| Method Detail |
|---|
public void onContextStart(CamelContext context)
LifecycleStrategyCamelContext.
onContextStart in interface LifecycleStrategycontext - the camel contextpublic void onEndpointAdd(Endpoint endpoint)
LifecycleStrategyEndpoint.
onEndpointAdd in interface LifecycleStrategyendpoint - the added endpointpublic void onRoutesAdd(Collection<Route> routes)
LifecycleStrategyRoute(s).
onRoutesAdd in interface LifecycleStrategyroutes - the added routes
public void onServiceAdd(CamelContext context,
Service service)
LifecycleStrategyService.
onServiceAdd in interface LifecycleStrategycontext - the camel contextservice - the added servicepublic void onRouteContextCreate(RouteContext routeContext)
LifecycleStrategyRouteContext(s).
onRouteContextCreate in interface LifecycleStrategyrouteContext - the added route contextpublic CamelNamingStrategy getNamingStrategy()
public void setNamingStrategy(CamelNamingStrategy strategy)
public void setAgent(InstrumentationAgent agent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||