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() |
protected void |
doStart() |
protected void |
doStop() |
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
doStart
in class AggregateLifeCycle
Exception
protected void doStop() throws Exception
doStop
in class AggregateLifeCycle
Exception
public void destroy()
destroy
in interface Handler
destroy
in interface Destroyable
destroy
in class AggregateLifeCycle
public void dumpThis(Appendable out) throws IOException
dumpThis
in class AggregateLifeCycle
IOException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.