public static final class Container.Instance extends Object
Instance class holds a Container singleton.| Modifier and Type | Method and Description |
|---|---|
static Container |
get()
Access the registered Container.
|
static void |
manage(CamelContext camelContext)
Called by Camel when a
CamelContext is being started. |
static void |
set(Container container)
Register the Container.
|
static void |
unmanage(CamelContext camelContext)
Called by Camel when a
CamelContext is being stopped. |
public static void set(Container container)
container - the Container to registerpublic static void manage(CamelContext camelContext)
CamelContext is being started.camelContext - the CamelContext to managepublic static void unmanage(CamelContext camelContext)
CamelContext is being stopped.camelContext - the CamelContext which is being stoppedApache Camel