Class BaseNativeInterfaceAddStepHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractAddStepHandler
-
- org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
-
- org.jboss.as.controller.management.BaseNativeInterfaceAddStepHandler
-
- All Implemented Interfaces:
OperationDescriptor
,OperationStepHandler
public abstract class BaseNativeInterfaceAddStepHandler extends ManagementInterfaceAddStepHandler
The base add handler for the native management interface.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractAddStepHandler
AbstractAddStepHandler.Parameters
-
-
Field Summary
-
Fields inherited from class org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
MANAGEMENT_INTERFACE_KEY
-
Fields inherited from class org.jboss.as.controller.AbstractAddStepHandler
attributes
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseNativeInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<org.jboss.msc.service.ServiceName>
installServices(OperationContext context, NativeInterfaceCommonPolicy commonPolicy, org.jboss.dmr.ModelNode model)
void
performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
Make any runtime changes necessary to effect the changes indicated by the givenoperation
.-
Methods inherited from class org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
addVerifyInstallationStep, asStringIfDefined, requiresRuntime
-
Methods inherited from class org.jboss.as.controller.AbstractAddStepHandler
createResource, createResource, execute, getAttributes, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, rollbackRuntime
-
-
-
-
Constructor Detail
-
BaseNativeInterfaceAddStepHandler
protected BaseNativeInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions)
-
-
Method Detail
-
performRuntime
public void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
Description copied from class:AbstractAddStepHandler
Make any runtime changes necessary to effect the changes indicated by the givenoperation
. Executes afterAbstractAddStepHandler.populateModel(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
, so the givenresource
parameter will reflect any changes made in that method. This method is invoked duringOperationContext.Stage.RUNTIME
. Subclasses that wish to make changes to runtime services should override this method or theAbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)
variant.- Overrides:
performRuntime
in classAbstractAddStepHandler
- Parameters:
context
- the operation contextoperation
- the operation being executedmodel
- persistent configuration model from the resource that corresponds to the address ofoperation
- Throws:
OperationFailedException
- ifoperation
is invalid or updating the runtime otherwise fails
-
installServices
protected abstract List<org.jboss.msc.service.ServiceName> installServices(OperationContext context, NativeInterfaceCommonPolicy commonPolicy, org.jboss.dmr.ModelNode model) throws OperationFailedException
- Throws:
OperationFailedException
-
-