public final class ManagedComponentFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
_addInitializationHook(IInitializationHook initHook)
This method adds an initialization hook that will be invoked right after the root component has been created.
|
static IManagedComponent |
createRootComponent(java.lang.String type,
java.lang.String name,
java.lang.String description,
java.lang.Object componentImpl)
Creates the root component.
|
static IManagedComponent |
getRootComponent() |
public static IManagedComponent createRootComponent(java.lang.String type, java.lang.String name, java.lang.String description, java.lang.Object componentImpl)
type
- the type of the root component. Cannot be null. Cannot contain ':'.name
- the name of the sub-component. Cannot be null. Cannot contain '/'.description
- the description of the sub-component. Cannot be null. Cannot contain '/'.componentImpl
- the component implementation.public static IManagedComponent getRootComponent()
public static void _addInitializationHook(IInitializationHook initHook)
initHook
- the initialization hook to register