@ManagedObject(value="Handler of Multiple Handlers") public interface HandlerContainer extends LifeCycle
The contained handlers may be one (see @{link HandlerWrapper
)
or many (see HandlerList
or HandlerCollection
.
LifeCycle.Listener
Modifier and Type | Method and Description |
---|---|
<T extends Handler> |
getChildHandlerByClass(Class<T> byclass) |
Handler[] |
getChildHandlers() |
Handler[] |
getChildHandlersByClass(Class<?> byclass) |
Handler[] |
getHandlers() |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
@ManagedAttribute(value="handlers in this container") Handler[] getHandlers()
@ManagedAttribute(value="all contained handlers") Handler[] getChildHandlers()
Handler[] getChildHandlersByClass(Class<?> byclass)
byclass
- Copyright © 1995-2015 Webtide. All Rights Reserved.