public abstract class ModelTestModelControllerService extends AbstractControllerService
AbstractControllerService
exists here in the main code source, for the legacy controllers it is got from the
xxxx/test-controller-xxx jars instead (see the constructor javadocs for more information)Modifier and Type | Class and Description |
---|---|
static class |
ModelTestModelControllerService.Controller71x |
static class |
ModelTestModelControllerService.Controller72x |
static class |
ModelTestModelControllerService.Controller73x |
static class |
ModelTestModelControllerService.Controller74x |
static class |
ModelTestModelControllerService.Controller80x |
static class |
ModelTestModelControllerService.Controller90x |
static class |
ModelTestModelControllerService.DelegatingResourceDefinition |
AbstractControllerService.ModelControllerServiceInitializationParams, AbstractControllerService.PartialModelIndicator
Modifier and Type | Field and Description |
---|---|
static DescriptionProvider |
DESC_PROVIDER |
authorizer, BOOT_STACK_SIZE_PROPERTY, DEFAULT_BOOT_STACK_SIZE, processType
Modifier and Type | Method and Description |
---|---|
protected boolean |
boot(List<org.jboss.dmr.ModelNode> bootOperations,
boolean rollbackOnRuntimeFailure)
Boot with the given operations, performing full model and capability registry validation.
|
protected void |
bootThreadDone() |
protected void |
countdownDoneLatch() |
Throwable |
getBootError() |
ManagementResourceRegistration |
getRootRegistration() |
static Resource |
grabRootResource(ModelTestKernelServices<?> kernelServices)
Grabs the current root resource.
|
protected void |
initCoreModel(ManagementModel managementModel,
Resource modelControllerResource) |
protected void |
initCoreModel(Resource rootResource,
ManagementResourceRegistration rootRegistration,
Resource modelControllerResource)
Deprecated.
only for legacy version support
|
protected void |
initExtraModel(ManagementModel managementModel) |
protected void |
initExtraModel(Resource rootResource,
ManagementResourceRegistration rootRegistration)
Deprecated.
only for legacy version support
|
protected void |
initModel(ManagementModel managementModel,
Resource modelControllerResource) |
protected void |
initModel(Resource rootResource,
ManagementResourceRegistration rootRegistration,
Resource modelControllerResource)
Deprecated.
only for legacy version support
|
protected org.jboss.dmr.ModelNode |
internalExecute(org.jboss.dmr.ModelNode operation,
OperationMessageHandler handler,
ModelController.OperationTransactionControl control,
OperationAttachments attachments,
OperationStepHandler prepareStep) |
boolean |
isSuccessfulBoot() |
protected void |
postBoot() |
protected void |
preBoot(List<org.jboss.dmr.ModelNode> bootOperations,
boolean rollbackOnRuntimeFailure) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
waitForSetup() |
acquireReadLock, boot, boot, boot, boot, createExtraValidationStepHandler, executeReadOnlyOperation, executeReadOnlyOperation, executeReadOnlyOperation, executeReadOnlyOperation, finishBoot, getAuditLogger, getBootErrorCollector, getExecutorServiceInjector, getModelControllerServiceInitializationParams, getMutableRootResourceRegistrationProvider, getPartialModelIndicator, getValue, internalExecute, internalExecute, internalExecute, registerModelControllerServiceInitializationBootStep, releaseReadLock, setConfigurationPersister, stop, stopAsynchronous
public static final DescriptionProvider DESC_PROVIDER
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, DescriptionProvider rootDescriptionProvider, ControlledProcessState processState, ModelTestModelControllerService.Controller71x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ModelTestModelControllerService.DelegatingResourceDefinition rootResourceDefinition, ControlledProcessState processState, ModelTestModelControllerService.Controller72x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, DescriptionProvider rootDescriptionProvider, ControlledProcessState processState, ModelTestModelControllerService.Controller72x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ModelTestModelControllerService.DelegatingResourceDefinition rootResourceDefinition, ControlledProcessState processState, ModelTestModelControllerService.Controller73x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, DescriptionProvider rootDescriptionProvider, ControlledProcessState processState, ModelTestModelControllerService.Controller73x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ModelTestModelControllerService.DelegatingResourceDefinition rootResourceDefinition, ControlledProcessState processState, ModelTestModelControllerService.Controller74x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, DescriptionProvider rootDescriptionProvider, ControlledProcessState processState, ModelTestModelControllerService.Controller74x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ModelTestModelControllerService.DelegatingResourceDefinition rootResourceDefinition, ControlledProcessState processState, ExpressionResolver expressionResolver, ModelTestModelControllerService.Controller80x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ResourceDefinition resourceDefinition, ControlledProcessState processState, ModelTestModelControllerService.Controller80x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ModelTestModelControllerService.DelegatingResourceDefinition rootResourceDefinition, ControlledProcessState processState, ExpressionResolver expressionResolver, ModelTestModelControllerService.Controller90x version)
protected ModelTestModelControllerService(ProcessType processType, RunningModeControl runningModeControl, TransformerRegistry transformerRegistry, StringConfigurationPersister persister, ModelTestOperationValidatorFilter validateOpsFilter, ResourceDefinition resourceDefinition, ControlledProcessState processState, ModelTestModelControllerService.Controller90x version)
public boolean isSuccessfulBoot()
public Throwable getBootError()
protected void initModel(ManagementModel managementModel, Resource modelControllerResource)
initModel
in class AbstractControllerService
@Deprecated protected void initModel(Resource rootResource, ManagementResourceRegistration rootRegistration, Resource modelControllerResource)
protected void initCoreModel(ManagementModel managementModel, Resource modelControllerResource)
@Deprecated protected void initCoreModel(Resource rootResource, ManagementResourceRegistration rootRegistration, Resource modelControllerResource)
protected void initExtraModel(ManagementModel managementModel)
@Deprecated protected void initExtraModel(Resource rootResource, ManagementResourceRegistration rootRegistration)
protected boolean boot(List<org.jboss.dmr.ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException
AbstractControllerService
boot
in class AbstractControllerService
bootOperations
- the operations. Cannot be null
rollbackOnRuntimeFailure
- true
if the boot should fail if operations fail in the runtime stagetrue
if boot was successfulConfigurationPersistenceException
protected void preBoot(List<org.jboss.dmr.ModelNode> bootOperations, boolean rollbackOnRuntimeFailure)
protected void postBoot()
protected void bootThreadDone()
bootThreadDone
in class AbstractControllerService
protected void countdownDoneLatch()
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ModelController>
start
in class AbstractControllerService
org.jboss.msc.service.StartException
public ManagementResourceRegistration getRootRegistration()
public static Resource grabRootResource(ModelTestKernelServices<?> kernelServices)
kernelServices
- the kernel services used to access the controllerprotected org.jboss.dmr.ModelNode internalExecute(org.jboss.dmr.ModelNode operation, OperationMessageHandler handler, ModelController.OperationTransactionControl control, OperationAttachments attachments, OperationStepHandler prepareStep)
internalExecute
in class AbstractControllerService
Copyright © 2023 JBoss by Red Hat. All rights reserved.