public class AdditionalInitialization extends AdditionalParsers
Modifier and Type | Field and Description |
---|---|
static AdditionalInitialization |
MANAGEMENT |
Constructor and Description |
---|
AdditionalInitialization() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExtraServices(org.jboss.msc.service.ServiceTarget target)
Adds extra services to the service controller
|
protected ControllerInitializer |
createControllerInitializer()
Creates the controller initializer.
|
protected ModelDescriptionValidator.ValidationConfiguration |
getModelValidationConfiguration()
Create a registry for extra configuration that should be taken into account when validating the description providers for the subsystem
in the controller.
|
protected ProcessType |
getProcessType() |
protected RunningMode |
getRunningMode() |
protected void |
initializeExtraSubystemsAndModel(ExtensionRegistry extensionRegistry,
Resource rootResource,
ManagementResourceRegistration rootRegistration)
Allows extra initialization of the model and addition of extra subsystems
|
protected boolean |
isValidateOperations()
Return
true to validate operations against their description provider when executing in the controller. |
protected void |
setupController(ControllerInitializer controllerInitializer)
Allows easy initialization of commonly used parts of the model and invocation of associated boottime operations
|
addParsers
public static final AdditionalInitialization MANAGEMENT
protected ProcessType getProcessType()
protected RunningMode getRunningMode()
protected boolean isValidateOperations()
true
to validate operations against their description provider when executing in the controller. The default is
false
protected ModelDescriptionValidator.ValidationConfiguration getModelValidationConfiguration()
null
to not validate the description providers.protected ControllerInitializer createControllerInitializer()
protected void setupController(ControllerInitializer controllerInitializer)
controllerInitializer
- the controller initializerprotected void addExtraServices(org.jboss.msc.service.ServiceTarget target)
target
- the service controller targetprotected void initializeExtraSubystemsAndModel(ExtensionRegistry extensionRegistry, Resource rootResource, ManagementResourceRegistration rootRegistration)
extensionRegistry
- allows installation of extra subsystem extensions, call ExtensionRegistry.getExtensionContext(String)
and then Extension.initialize(extensionContext)
for each extra extension you haverootResource
- the root model resource which allows you to for example add child elements to the modelrootRegistration
- the root resource registration which allows you to for example add additional operations to the modelCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.