public abstract class AbstractHandler extends AggregateLifeCycle implements Handler
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
Constructor and Description |
---|
AbstractHandler() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the joined Destroyable beans in the reverse order they were added.
|
protected void |
doStart()
Start the managed lifecycle beans in the order they were added.
|
protected void |
doStop()
Stop the joined lifecycle beans in the reverse order they were added.
|
void |
dumpThis(Appendable out) |
Server |
getServer() |
void |
setServer(Server server) |
addBean, addBean, contains, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
protected void doStart() throws Exception
AggregateLifeCycle
doStart
in class AggregateLifeCycle
Exception
AbstractLifeCycle.doStart()
protected void doStop() throws Exception
AggregateLifeCycle
doStop
in class AggregateLifeCycle
Exception
AbstractLifeCycle.doStart()
public void destroy()
AggregateLifeCycle
destroy
in interface Handler
destroy
in interface Destroyable
destroy
in class AggregateLifeCycle
Destroyable.destroy()
public void dumpThis(Appendable out) throws IOException
dumpThis
in class AggregateLifeCycle
IOException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.