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, requiresRuntimeprotected RestartParentResourceAddHandler(String parentKeyName)
protected void updateModel(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
RestartParentResourceHandlerBaseupdateModel in class RestartParentResourceHandlerBasecontext - 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 operationOperationFailedException - if operation is invalid or populating the model otherwise failsCopyright © 2015 JBoss by Red Hat. All rights reserved.