T
- the type of holder@ManagedObject(value="Holder - a container for servlets and the like") public abstract class Holder<T> extends BaseHolder<T>
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Modifier and Type | Method and Description |
---|---|
void |
destroyInstance(Object instance) |
String |
dump() |
String |
getDisplayName() |
String |
getInitParameter(String param) |
Enumeration<String> |
getInitParameterNames() |
Map<String,String> |
getInitParameters() |
String |
getName() |
boolean |
isAsyncSupported() |
void |
setAsyncSupported(boolean suspendable) |
void |
setClassName(String className) |
void |
setDisplayName(String name) |
void |
setHeldClass(Class<? extends T> held) |
void |
setInitParameter(String param,
String value) |
void |
setInitParameters(Map<String,String> map) |
void |
setName(String name)
The name is a primary key for the held object.
|
String |
toString() |
doStart, doStop, dump, getClassName, getHeldClass, getServletHandler, getSource, initialize, isInstance, setServletHandler
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
@ManagedAttribute(value="Display Name", readonly=true) public String getDisplayName()
public Enumeration<String> getInitParameterNames()
@ManagedAttribute(value="Initial Parameters", readonly=true) public Map<String,String> getInitParameters()
@ManagedAttribute(value="Name", readonly=true) public String getName()
public void setClassName(String className)
setClassName
in class BaseHolder<T>
className
- The className to set.public void setHeldClass(Class<? extends T> held)
setHeldClass
in class BaseHolder<T>
held
- The class to holdpublic void setDisplayName(String name)
public void setName(String name)
name
- The name to set.public void setAsyncSupported(boolean suspendable)
public boolean isAsyncSupported()
public String dump()
dump
in interface Dumpable
dump
in class BaseHolder<T>
public String toString()
toString
in class AbstractLifeCycle
Copyright © 2010 - 2020 Adobe. All Rights Reserved