|
JBoss Modular Service Kernel API 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.service.AbstractServiceListener<Object>
org.jboss.msc.service.RemovingServiceListener
public final class RemovingServiceListener

A service listener which removes the given service as soon as it is down, used to "kill" a service.
| Constructor Summary | |
|---|---|
RemovingServiceListener()
|
|
| Method Summary | |
|---|---|
void |
listenerAdded(ServiceController<?> serviceController)
The listener has been added to a controller. |
void |
serviceFailed(ServiceController<?> serviceController,
StartException reason)
The service start has failed. |
void |
serviceStarted(ServiceController<?> serviceController)
The service is started (up). |
void |
serviceStarting(ServiceController<?> serviceController)
The service is starting. |
void |
serviceStopped(ServiceController<?> serviceController)
The service is stopped (down). |
void |
serviceStopping(ServiceController<?> serviceController)
The service is stopping. |
| Methods inherited from class org.jboss.msc.service.AbstractServiceListener |
|---|
serviceRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemovingServiceListener()
| Method Detail |
|---|
public void listenerAdded(ServiceController<?> serviceController)
listenerAdded in interface ServiceListener<Object>listenerAdded in class AbstractServiceListener<Object>serviceController - the controller that this listener was added topublic void serviceStarting(ServiceController<?> serviceController)
DOWN to STARTING.
serviceStarting in interface ServiceListener<Object>serviceStarting in class AbstractServiceListener<Object>serviceController - the controllerpublic void serviceStarted(ServiceController<?> serviceController)
STARTING to UP.
serviceStarted in interface ServiceListener<Object>serviceStarted in class AbstractServiceListener<Object>serviceController - the controller
public void serviceFailed(ServiceController<?> serviceController,
StartException reason)
STARTING to START_FAILED.
serviceFailed in interface ServiceListener<Object>serviceFailed in class AbstractServiceListener<Object>serviceController - the controllerreason - the reason for failurepublic void serviceStopping(ServiceController<?> serviceController)
UP to STOPPING.
serviceStopping in interface ServiceListener<Object>serviceStopping in class AbstractServiceListener<Object>serviceController - the controllerpublic void serviceStopped(ServiceController<?> serviceController)
STOPPING to DOWN.
serviceStopped in interface ServiceListener<Object>serviceStopped in class AbstractServiceListener<Object>serviceController - the controller
|
JBoss Modular Service Kernel API 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||