public abstract class RestartParentResourceAddHandler extends RestartParentResourceHandlerBase
Modifier | Constructor and Description |
---|---|
protected |
RestartParentResourceAddHandler(String parentKeyName) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Populate the given node in the persistent configuration model based on the values in the given operation.
|
protected void |
updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation)
Performs the update to the persistent configuration model.
|
execute, getParentAddress, getParentServiceName, isResourceServiceRestartAllowed, recreateParentService, recreateParentService, removeServices, requiresRuntime
protected RestartParentResourceAddHandler(String parentKeyName)
protected void updateModel(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
RestartParentResourceHandlerBase
updateModel
in class RestartParentResourceHandlerBase
context
- the operation contextoperation
- the operationOperationFailedException
- if there is a problem updating the modelprotected abstract void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
operation
- the operationmodel
- persistent configuration model node that corresponds to the address of operation
OperationFailedException
- if operation
is invalid or populating the model otherwise failsCopyright © 2023 JBoss by Red Hat. All rights reserved.