T - the type of holderpublic abstract class BaseHolder<T> extends AbstractLifeCycle implements Dumpable
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
String |
dump() |
void |
dump(Appendable out,
String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
String |
getClassName() |
Class<? extends T> |
getHeldClass() |
ServletHandler |
getServletHandler() |
Source |
getSource() |
void |
initialize()
Do any setup necessary after starting
|
boolean |
isInstance() |
void |
setClassName(String className) |
void |
setHeldClass(Class<? extends T> held) |
void |
setServletHandler(ServletHandler servletHandler) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedpublic Source getSource()
public void initialize()
throws Exception
Exception - if unable to initialize@ManagedAttribute(value="Class Name", readonly=true) public String getClassName()
public ServletHandler getServletHandler()
public void setServletHandler(ServletHandler servletHandler)
servletHandler - The ServletHandler that will handle requests dispatched to this servlet.public void setClassName(String className)
className - The className to set.public boolean isInstance()
public void dump(Appendable out, String indent) throws IOException
Dumpabledump in interface Dumpableout - The appendable to dump toindent - The indent to apply after any new lines.IOException - if unable to write to AppendableCopyright © 2010 - 2020 Adobe. All Rights Reserved