Package org.jboss.as.server
Class ServerService
java.lang.Object
org.jboss.as.controller.AbstractControllerService
org.jboss.as.server.ServerService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ModelController>,org.jboss.msc.value.Value<ModelController>
Service for the
ModelController for an AS server instance.- Author:
- David M. Lloyd, Richard Opalka
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractControllerService
AbstractControllerService.ControllerInstabilityListener, AbstractControllerService.ModelControllerServiceInitializationParams, AbstractControllerService.PartialModelIndicator -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameService is not for general use, so the service name is not declared in the more visibleServicesstatic final org.jboss.msc.service.ServiceNameService is not for general use, so the service name is not declared in the more visibleServicesstatic final org.jboss.msc.service.ServiceNameService is not for general use, so the service name is not declared in the more visibleServicesstatic final StringFields inherited from class org.jboss.as.controller.AbstractControllerService
authorizer, BOOT_STACK_SIZE_PROPERTY, CLIENT_FACTORY_CAPABILITY, DEFAULT_BOOT_STACK_SIZE, EXECUTOR_CAPABILITY, NOTIFICATION_REGISTRY_CAPABILITY, PATH_MANAGER_CAPABILITY, PROCESS_STATE_NOTIFIER_CAPABILITY, processType, securityIdentitySupplier, stabilityFields inherited from interface org.jboss.msc.service.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddService(org.jboss.msc.service.ServiceTarget serviceTarget, Bootstrap.Configuration configuration, ControlledProcessState processState, BootstrapListener bootstrapListener, RunningModeControl runningModeControl, ManagedAuditLogger auditLogger, DelegatingConfigurableAuthorizer authorizer, ManagementSecurityIdentitySupplier securityIdentitySupplier, ServerSuspendController suspendController) Add this service to the given service target.protected booleanprotected voidboot(BootContext context) protected voidfinishBoot(boolean suspend) protected voidinitModel(ManagementModel managementModel, Resource modelControllerResource) protected voidpostBoot()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context) Methods inherited from class org.jboss.as.controller.AbstractControllerService
acquireReadLock, boot, boot, bootThreadDone, clearBootingReadOnlyFlag, createExtraValidationStepHandler, executeAdditionalCliBootScript, executeReadOnlyOperation, executeReadOnlyOperation, executeReadOnlyOperation, finishBoot, getAuditLogger, getBootErrorCollector, getBootErrors, getExecutorService, getModelControllerClientFactory, getMutableRootResourceRegistrationProvider, getNotificationSupport, getPartialModelIndicator, getValue, internalExecute, internalExecute, internalExecute, isExposingClientServicesAllowed, registerModelControllerServiceInitializationBootStep, releaseReadLock, setConfigurationPersister, stopAsynchronous
-
Field Details
-
JBOSS_SERVER_CLIENT_FACTORY
public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_CLIENT_FACTORYService is not for general use, so the service name is not declared in the more visibleServices -
JBOSS_SERVER_NOTIFICATION_REGISTRY
public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_NOTIFICATION_REGISTRYService is not for general use, so the service name is not declared in the more visibleServices -
JBOSS_SERVER_SCHEDULED_EXECUTOR
public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_SCHEDULED_EXECUTORService is not for general use, so the service name is not declared in the more visibleServices -
SERVER_NAME
- See Also:
-
-
Method Details
-
addService
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget, Bootstrap.Configuration configuration, ControlledProcessState processState, BootstrapListener bootstrapListener, RunningModeControl runningModeControl, ManagedAuditLogger auditLogger, DelegatingConfigurableAuthorizer authorizer, ManagementSecurityIdentitySupplier securityIdentitySupplier, ServerSuspendController suspendController) Add this service to the given service target.- Parameters:
serviceTarget- the service targetconfiguration- the bootstrap configuration
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Overrides:
startin classAbstractControllerService- Throws:
org.jboss.msc.service.StartException
-
boot
- Overrides:
bootin classAbstractControllerService- Throws:
ConfigurationPersistenceException
-
finishBoot
- Overrides:
finishBootin classAbstractControllerService- Throws:
ConfigurationPersistenceException
-
postBoot
protected void postBoot()- Overrides:
postBootin classAbstractControllerService
-
boot
protected boolean boot(List<org.jboss.dmr.ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException - Overrides:
bootin classAbstractControllerService- Throws:
ConfigurationPersistenceException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service- Overrides:
stopin classAbstractControllerService
-
initModel
- Specified by:
initModelin classAbstractControllerService
-
getModelControllerServiceInitializationParams
protected AbstractControllerService.ModelControllerServiceInitializationParams getModelControllerServiceInitializationParams()- Overrides:
getModelControllerServiceInitializationParamsin classAbstractControllerService
-