public class StrictMaxPoolAdd extends AbstractAddStepHandler
PoolConfigService
User: Jaikiran Pai| Modifier and Type | Field and Description |
|---|---|
static StrictMaxPoolAdd |
INSTANCE |
attributes| Constructor and Description |
|---|
StrictMaxPoolAdd() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode strictMaxPoolModel,
ServiceVerificationHandler verificationHandler,
List<org.jboss.msc.service.ServiceController<?>> serviceControllers)
Make any runtime changes necessary to effect the changes indicated by the given
operation. |
protected void |
populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode strictMaxPoolModel)
Populate the
strictMaxPoolModel from the operation |
createResource, execute, populateModel, populateModel, requiresRuntime, requiresRuntimeVerification, rollbackRuntimepublic static final StrictMaxPoolAdd INSTANCE
protected void populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode strictMaxPoolModel)
throws OperationFailedException
strictMaxPoolModel from the operationpopulateModel in class AbstractAddStepHandleroperation - the operationstrictMaxPoolModel - strict-max-pool ModelNodeOperationFailedExceptionprotected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode strictMaxPoolModel, ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> serviceControllers) throws OperationFailedException
AbstractAddStepHandleroperation. Executes
after AbstractAddStepHandler.populateModel(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode), so the given model
parameter will reflect any changes made in that method.
This default implementation does nothing.
performRuntime in class AbstractAddStepHandlercontext - the operation contextoperation - the operation being executedstrictMaxPoolModel - persistent configuration model node that corresponds to the address of operationverificationHandler - step handler that can be added as a listener to any new services installed in order to
validate the services installed correctly during the
VERIFY stageserviceControllers - holder for the ServiceController for any new services installed by the method. The
method should add the ServiceController for any new services to this list. If the
overall operation needs to be rolled back, the list will be used in
AbstractAddStepHandler.rollbackRuntime(OperationContext, ModelNode, ModelNode, java.util.List) to automatically removed
the newly added servicesOperationFailedException - if operation is invalid or updating the runtime otherwise failsCopyright © 2014 JBoss by Red Hat. All rights reserved.