public abstract class AbstractHandlerContainer extends AbstractHandler implements HandlerContainer
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerContainer.InheritedListener, Container.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
AbstractHandlerContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
expandChildren(List<Handler> list,
Class<?> byClass) |
protected void |
expandHandler(Handler handler,
List<Handler> list,
Class<?> byClass) |
static <T extends HandlerContainer> |
findContainerOf(HandlerContainer root,
Class<T> type,
Handler handler) |
<T extends Handler> |
getChildHandlerByClass(Class<T> byclass) |
Handler[] |
getChildHandlers() |
Handler[] |
getChildHandlersByClass(Class<?> byclass) |
void |
setServer(Server server) |
destroy, doStart, doStop, dumpThis, getServeraddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandlersaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic Handler[] getChildHandlers()
getChildHandlers in interface HandlerContainerpublic Handler[] getChildHandlersByClass(Class<?> byclass)
getChildHandlersByClass in interface HandlerContainerbyclass - the child handler class to getpublic <T extends Handler> T getChildHandlerByClass(Class<T> byclass)
getChildHandlerByClass in interface HandlerContainerT - the type of handlerbyclass - the child handler class to getpublic static <T extends HandlerContainer> T findContainerOf(HandlerContainer root, Class<T> type, Handler handler)
public void setServer(Server server)
setServer in interface HandlersetServer in class AbstractHandlerCopyright © 1995–2017 Webtide. All rights reserved.