public abstract class AbstractHandlerContainer extends AbstractHandler implements HandlerContainer
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Container.InheritedListener, Container.Listener
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) |
destroy, doStart, doStop, dumpThis, getServer, setServer
addBean, 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, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHandlers
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public Handler[] getChildHandlers()
getChildHandlers
in interface HandlerContainer
public Handler[] getChildHandlersByClass(Class<?> byclass)
getChildHandlersByClass
in interface HandlerContainer
public <T extends Handler> T getChildHandlerByClass(Class<T> byclass)
getChildHandlerByClass
in interface HandlerContainer
public static <T extends HandlerContainer> T findContainerOf(HandlerContainer root, Class<T> type, Handler handler)
Copyright © 1995-2015 Webtide. All Rights Reserved.