public class ControlledProcessStateService extends Object implements org.jboss.msc.service.Service<ControlledProcessStateService>
ControlledProcessState.State
and allows services to register a listener for changes
to it.Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Deprecated.
This service should not be used outside the AS7 codebase itself, as it may be replaced in AS 7.2
|
static org.jboss.msc.service.ServiceController<ControlledProcessStateService> |
addService(org.jboss.msc.service.ServiceTarget target,
ControlledProcessState processState) |
ControlledProcessState.State |
getCurrentState()
Deprecated.
This service should not be used outside the AS7 codebase itself, as it may be replaced in AS 7.2
|
ControlledProcessStateService |
getValue() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Deprecated.
This service should not be used outside the AS7 codebase itself, as it may be replaced in AS 7.2
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static org.jboss.msc.service.ServiceController<ControlledProcessStateService> addService(org.jboss.msc.service.ServiceTarget target, ControlledProcessState processState)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ControlledProcessStateService>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ControlledProcessStateService>
public ControlledProcessStateService getValue()
getValue
in interface org.jboss.msc.value.Value<ControlledProcessStateService>
@Deprecated public ControlledProcessState.State getCurrentState()
@Deprecated public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- the listener@Deprecated public void removePropertyChangeListener(PropertyChangeListener listener)
registered listener
.listener
- the listenerCopyright © 2023 JBoss by Red Hat. All rights reserved.