public final class ServerService extends AbstractControllerService
ModelController for an AS server instance.| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_NAME |
authorizer, BOOT_STACK_SIZE_PROPERTY, DEFAULT_BOOT_STACK_SIZE, processType| Modifier and Type | Method and Description |
|---|---|
static void |
addService(org.jboss.msc.service.ServiceTarget serviceTarget,
Bootstrap.Configuration configuration,
ControlledProcessState processState,
BootstrapListener bootstrapListener,
RunningModeControl runningModeControl,
AbstractVaultReader vaultReader,
ManagedAuditLogger auditLogger,
DelegatingConfigurableAuthorizer authorizer)
Add this service to the given service target.
|
protected void |
boot(BootContext context)
Boot the controller.
|
protected boolean |
boot(List<org.jboss.dmr.ModelNode> bootOperations,
boolean rollbackOnRuntimeFailure) |
protected void |
initModel(Resource rootResource,
ManagementResourceRegistration rootRegistration) |
protected void |
performControllerInitialization(org.jboss.msc.service.ServiceTarget target,
Resource rootResource,
ManagementResourceRegistration rootRegistration) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
bootThreadDone, executeReadOnlyOperation, finishBoot, getAuditLogger, getExecutorServiceInjector, getValue, internalExecute, internalExecute, runPerformControllerInitialization, setConfigurationPersister, stopAsynchronouspublic static final String SERVER_NAME
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget,
Bootstrap.Configuration configuration,
ControlledProcessState processState,
BootstrapListener bootstrapListener,
RunningModeControl runningModeControl,
AbstractVaultReader vaultReader,
ManagedAuditLogger auditLogger,
DelegatingConfigurableAuthorizer authorizer)
serviceTarget - the service targetconfiguration - the bootstrap configurationpublic 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 AbstractControllerServiceorg.jboss.msc.service.StartExceptionprotected void boot(BootContext context) throws ConfigurationPersistenceException
AbstractControllerServiceboot in class AbstractControllerServicecontext - the boot contextConfigurationPersistenceException - if the configuration failed to be loadedprotected boolean boot(List<org.jboss.dmr.ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException
boot in class AbstractControllerServiceConfigurationPersistenceExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<ModelController>stop in class AbstractControllerServiceprotected void initModel(Resource rootResource, ManagementResourceRegistration rootRegistration)
initModel in class AbstractControllerServiceprotected void performControllerInitialization(org.jboss.msc.service.ServiceTarget target,
Resource rootResource,
ManagementResourceRegistration rootRegistration)
performControllerInitialization in class AbstractControllerServiceCopyright © 2014 JBoss by Red Hat. All rights reserved.