public class Holder extends AbstractMap implements LifeCycle, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected Class |
_class |
protected String |
_className |
protected String |
_displayName |
protected HttpHandler |
_httpHandler |
protected Map |
_initParams |
protected String |
_name |
| Modifier | Constructor and Description |
|---|---|
protected |
Holder()
Constructor for Serialization.
|
protected |
Holder(HttpHandler httpHandler,
String name,
String className) |
| Modifier and Type | Method and Description |
|---|---|
Set |
entrySet()
Map entrySet method.
|
Object |
get(Object name)
Map get method.
|
String |
getClassName() |
String |
getDisplayName() |
HttpContext |
getHttpContext() |
HttpHandler |
getHttpHandler() |
String |
getInitParameter(String param) |
Enumeration |
getInitParameterNames() |
Map |
getInitParameters() |
String |
getName() |
boolean |
isStarted() |
Object |
newInstance() |
Object |
put(Object name,
Object value)
Map put method.
|
void |
setDisplayName(String name) |
void |
setInitParameter(String param,
String value) |
void |
start()
Start the LifeCycle.
|
void |
stop()
Stop the LifeCycle.
|
String |
toString() |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected HttpHandler _httpHandler
protected String _name
protected String _displayName
protected String _className
protected Map _initParams
protected transient Class _class
protected Holder()
protected Holder(HttpHandler httpHandler, String name, String className)
public String getName()
public void setDisplayName(String name)
public String getDisplayName()
public String getClassName()
public HttpHandler getHttpHandler()
public HttpContext getHttpContext()
public Map getInitParameters()
public Enumeration getInitParameterNames()
public Set entrySet()
entrySet in interface MapentrySet in class AbstractMappublic Object put(Object name, Object value)
put in interface Mapput in class AbstractMappublic Object get(Object name)
get in interface Mapget in class AbstractMappublic void start()
throws Exception
LifeCyclepublic Object newInstance() throws InstantiationException, IllegalAccessException
public boolean isStarted()
public void stop()
LifeCyclepublic String toString()
toString in class AbstractMapCopyright © 2016. All Rights Reserved.