|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.ConfigContext
public class ConfigContext
The ConfigContext contains the state of the current configuration.
| Constructor Summary | |
|---|---|
ConfigContext()
|
|
ConfigContext(ComponentImpl component,
java.lang.Object value,
ScopeContext scope)
|
|
ConfigContext(ScopeContext scope)
|
|
| Method Summary | |
|---|---|
void |
addDestructor(ComponentImpl comp,
java.lang.Object value)
WebBeans method |
boolean |
canInject(ScopeContext scope)
|
java.lang.Object |
configure(java.lang.Object bean,
org.w3c.dom.Node top)
External call to configure a bean based on a top-level node. |
void |
configureAttribute(java.lang.Object bean,
org.w3c.dom.Node attribute)
External call to configure a bean's attribute. |
void |
configureBean(java.lang.Object bean,
org.w3c.dom.Node top)
External call to configure a bean based on a top-level node, calling init() and replaceObject() when done. |
static ConfigContext |
create()
|
java.lang.Object |
create(org.w3c.dom.Node childNode,
ConfigType type)
|
static ConfigContext |
createForProgram()
|
static java.lang.RuntimeException |
error(java.lang.String msg,
org.w3c.dom.Node node)
|
static java.lang.RuntimeException |
error(java.lang.Throwable e,
org.w3c.dom.Node node)
|
java.lang.Object |
evalObject(java.lang.String exprString)
Evaluate as an object |
java.lang.Object |
get(ComponentImpl comp)
Returns the component value for the dependent scope |
java.lang.String |
getBaseUri()
Returns the file var |
Config |
getConfig()
|
static ConfigContext |
getCurrent()
|
static ConfigContext |
getCurrentBuilder()
|
java.util.ArrayList<Dependency> |
getDependencyList()
|
DependentScope |
getDependentScope()
|
ConfigELContext |
getELContext()
Returns the variable resolver. |
boolean |
isIgnoreEnvironment()
|
void |
put(ComponentImpl comp,
java.lang.Object obj)
WebBeans dependent scope setting |
void |
setDependentScope(DependentScope scope)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigContext()
public ConfigContext(ComponentImpl component,
java.lang.Object value,
ScopeContext scope)
public ConfigContext(ScopeContext scope)
| Method Detail |
|---|
public static ConfigContext create()
public static ConfigContext createForProgram()
public static ConfigContext getCurrentBuilder()
public static ConfigContext getCurrent()
public java.lang.String getBaseUri()
public void addDestructor(ComponentImpl comp,
java.lang.Object value)
aThis - value - public boolean canInject(ScopeContext scope)
public java.lang.Object get(ComponentImpl comp)
aThis -
public Config getConfig()
public void put(ComponentImpl comp,
java.lang.Object obj)
aThis - obj - public boolean isIgnoreEnvironment()
public java.lang.Object configure(java.lang.Object bean,
org.w3c.dom.Node top)
throws LineConfigException
bean - the object to be configured.
LineConfigException
public void configureBean(java.lang.Object bean,
org.w3c.dom.Node top)
throws LineConfigException
bean - the bean to be configuredtop - the top-level XML configuration node
LineConfigException
public void configureAttribute(java.lang.Object bean,
org.w3c.dom.Node attribute)
throws LineConfigException
bean - the bean to be configuredattribute - the node representing the configured attribute
LineConfigException
public java.lang.Object create(org.w3c.dom.Node childNode,
ConfigType type)
throws ConfigException
ConfigExceptionpublic void setDependentScope(DependentScope scope)
public DependentScope getDependentScope()
public java.util.ArrayList<Dependency> getDependencyList()
public ConfigELContext getELContext()
public java.lang.Object evalObject(java.lang.String exprString)
throws ELException
ELException
public static java.lang.RuntimeException error(java.lang.String msg,
org.w3c.dom.Node node)
public static java.lang.RuntimeException error(java.lang.Throwable e,
org.w3c.dom.Node node)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||