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, values
protected 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 Map
entrySet
in class AbstractMap
public Object put(Object name, Object value)
put
in interface Map
put
in class AbstractMap
public Object get(Object name)
get
in interface Map
get
in class AbstractMap
public void start() throws Exception
LifeCycle
public Object newInstance() throws InstantiationException, IllegalAccessException
public boolean isStarted()
public void stop()
LifeCycle
public String toString()
toString
in class AbstractMap
Copyright © 2013. All Rights Reserved.