public abstract class RestartParentResourceRemoveHandler extends RestartParentResourceHandlerBase
Modifier | Constructor and Description |
---|---|
protected |
RestartParentResourceRemoveHandler(String parentKeyName) |
protected |
RestartParentResourceRemoveHandler(String parentKeyName,
RuntimeCapability... capabilities) |
Modifier and Type | Method and Description |
---|---|
protected void |
recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
protected void |
updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation)
Performs the update to the persistent configuration model.
|
execute, getParentAddress, getParentServiceName, isResourceServiceRestartAllowed, recreateParentService, removeServices, requiresRuntime, rollbackRuntime
protected RestartParentResourceRemoveHandler(String parentKeyName)
protected RestartParentResourceRemoveHandler(String parentKeyName, RuntimeCapability... capabilities)
protected void updateModel(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
updateModel
in class RestartParentResourceHandlerBase
context
- the operation contextoperation
- the operationOperationFailedException
- if there is a problem updating the modelprotected void recordCapabilitiesAndRequirements(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
OperationFailedException
Copyright © 2021 JBoss by Red Hat. All rights reserved.