|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.xml.XmlConfigContext
@Module public class XmlConfigContext
The ConfigContext contains the state of the current configuration.
| Field Summary | |
|---|---|
static QName |
TEXT
|
| Constructor Summary | |
|---|---|
XmlConfigContext()
|
|
XmlConfigContext(Config config)
|
|
XmlConfigContext(XmlConfigContext parent)
|
|
| Method Summary | |
|---|---|
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. |
java.lang.Object |
configureNode(org.w3c.dom.Node node,
java.lang.Object bean,
ConfigType<?> beanType)
Configures a bean, calling its init() and replaceObject() methods. |
static XmlConfigContext |
create()
|
java.lang.Object |
create(org.w3c.dom.Node childNode,
ConfigType<?> type)
|
static XmlConfigContext |
createForProgram()
|
java.lang.Object |
findByName(java.lang.String name)
|
java.lang.Object |
get(Bean<?> bean)
Returns the component value for the dependent scope |
java.lang.String |
getBaseUri()
Returns the file var |
Config |
getConfig()
|
CreationalContext<?> |
getCreationalContext()
|
static XmlConfigContext |
getCurrent()
|
static XmlConfigContext |
getCurrentBuilder()
|
java.util.ArrayList<Dependency> |
getDependencyList()
|
static ConfigELContext |
getELContext()
Returns the variable resolver. |
InjectionPoint |
getInjectionPoint()
|
boolean |
isIgnoreEnvironment()
|
CreationalContext<?> |
setCreationalContext(CreationalContext<?> cxt)
|
void |
setInjectionPoint(InjectionPoint ij)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final QName TEXT
| Constructor Detail |
|---|
public XmlConfigContext()
public XmlConfigContext(XmlConfigContext parent)
public XmlConfigContext(Config config)
| Method Detail |
|---|
public static XmlConfigContext create()
public static XmlConfigContext createForProgram()
public static XmlConfigContext getCurrentBuilder()
public static XmlConfigContext getCurrent()
public InjectionPoint getInjectionPoint()
public void setInjectionPoint(InjectionPoint ij)
public java.lang.String getBaseUri()
public java.lang.Object get(Bean<?> bean)
aThis -
public java.lang.Object findByName(java.lang.String name)
public CreationalContext<?> setCreationalContext(CreationalContext<?> cxt)
public CreationalContext<?> getCreationalContext()
public Config getConfig()
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 configureNode(org.w3c.dom.Node node,
java.lang.Object bean,
ConfigType<?> beanType)
throws LineConfigException
typeStrategy - the strategy for handling the bean's typebean - the bean instancetop - the configuration top
LineConfigException
public java.lang.Object create(org.w3c.dom.Node childNode,
ConfigType<?> type)
throws ConfigException
ConfigExceptionpublic java.util.ArrayList<Dependency> getDependencyList()
public static ConfigELContext getELContext()
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 | |||||||||