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 has been created. |
static void |
set(Container container)
Register the Container.
|
static void |
unmanage(CamelContext camelContext)
Called by Camel when a
CamelContext has been destroyed. |
public static void set(Container container)
container - the Container to registerpublic static void manage(CamelContext camelContext)
CamelContext has been created.camelContext - the newly created CamelContextpublic static void unmanage(CamelContext camelContext)
CamelContext has been destroyed.camelContext - the CamelContext which has been destroyedApache Camel