|
||||||||||
| 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<? extends Exchange> 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 - context - | Method Detail |
|---|
public void onContextStart(CamelContext context)
LifecycleStrategyCamelContext.
onContextStart in interface LifecycleStrategypublic void onEndpointAdd(Endpoint<? extends Exchange> endpoint)
LifecycleStrategyEndpoint.
onEndpointAdd in interface LifecycleStrategypublic void onRoutesAdd(Collection<Route> routes)
LifecycleStrategyRoute(s).
onRoutesAdd in interface LifecycleStrategy
public void onServiceAdd(CamelContext context,
Service service)
LifecycleStrategyService.
onServiceAdd in interface LifecycleStrategypublic void onRouteContextCreate(RouteContext routeContext)
LifecycleStrategyRouteContext(s).
onRouteContextCreate in interface LifecycleStrategypublic 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 | |||||||||