Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
Modifier and Type | Method and Description |
---|---|
ServiceController.Mode |
ServiceController.getMode()
Get the service controller's current mode.
|
ServiceController.Mode |
DelegatingServiceController.getMode()
Get the service controller's current mode.
|
static ServiceController.Mode |
ServiceController.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceController.Mode[] |
ServiceController.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServiceController.compareAndSetMode(ServiceController.Mode expected,
ServiceController.Mode newMode)
Compare the current mode against
expected ; if it matches, change it to newMode . |
boolean |
DelegatingServiceController.compareAndSetMode(ServiceController.Mode expected,
ServiceController.Mode newMode)
Compare the current mode against
expected ; if it matches, change it to newMode . |
boolean |
ServiceController.Mode.in(ServiceController.Mode... modes)
Determine if this mode is one of the given modes.
|
ServiceBuilder<T> |
ServiceBuilder.setInitialMode(ServiceController.Mode mode)
Sets initial service mode.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.setInitialMode(ServiceController.Mode mode)
Sets initial service mode.
|
void |
ServiceController.setMode(ServiceController.Mode mode)
Change the service controller's current mode.
|
void |
DelegatingServiceController.setMode(ServiceController.Mode mode)
Change the service controller's current mode.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.