public class ListenerHolder extends BaseHolder<EventListener>
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
ListenerHolder() |
ListenerHolder(Class<? extends EventListener> listenerClass) |
ListenerHolder(Source source) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
EventListener |
getListener() |
void |
setListener(EventListener listener)
Set an explicit instance.
|
String |
toString() |
dump, dump, getClassName, getHeldClass, getServletHandler, getSource, initialize, isInstance, setClassName, setHeldClass, setServletHandleraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedpublic ListenerHolder()
public ListenerHolder(Source source)
public ListenerHolder(Class<? extends EventListener> listenerClass)
public EventListener getListener()
public void setListener(EventListener listener)
public void doStart()
throws Exception
doStart in class BaseHolder<EventListener>Exceptionpublic void doStop()
throws Exception
doStop in class BaseHolder<EventListener>Exceptionpublic String toString()
toString in class AbstractLifeCycleCopyright © 2010 - 2020 Adobe. All Rights Reserved