|
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<S>
public abstract class AbstractServiceListener<S>

An abstract implementation of a service listener whose methods do nothing.
| Constructor Summary | |
|---|---|
AbstractServiceListener()
|
|
| Method Summary | |
|---|---|
void |
listenerAdded(ServiceController<? extends S> controller)
The listener has been added to a controller. |
void |
serviceFailed(ServiceController<? extends S> controller,
StartException reason)
The service start has failed. |
void |
serviceRemoved(ServiceController<? extends S> controller)
The service has been removed. |
void |
serviceStarted(ServiceController<? extends S> controller)
The service is started (up). |
void |
serviceStarting(ServiceController<? extends S> controller)
The service is starting. |
void |
serviceStopped(ServiceController<? extends S> controller)
The service is stopped (down). |
void |
serviceStopping(ServiceController<? extends S> controller)
The service is stopping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractServiceListener()
| Method Detail |
|---|
public void listenerAdded(ServiceController<? extends S> controller)
listenerAdded in interface ServiceListener<S>controller - the controller that this listener was added topublic void serviceStarting(ServiceController<? extends S> controller)
DOWN to STARTING.
serviceStarting in interface ServiceListener<S>controller - the controllerpublic void serviceStarted(ServiceController<? extends S> controller)
STARTING to UP.
serviceStarted in interface ServiceListener<S>controller - the controller
public void serviceFailed(ServiceController<? extends S> controller,
StartException reason)
STARTING to START_FAILED.
serviceFailed in interface ServiceListener<S>controller - the controllerreason - the reason for failurepublic void serviceStopping(ServiceController<? extends S> controller)
UP to STOPPING.
serviceStopping in interface ServiceListener<S>controller - the controllerpublic void serviceStopped(ServiceController<? extends S> controller)
STOPPING to DOWN.
serviceStopped in interface ServiceListener<S>controller - the controllerpublic void serviceRemoved(ServiceController<? extends S> controller)
DOWN to REMOVED.
serviceRemoved in interface ServiceListener<S>controller - 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 | |||||||||