com.caucho.config.xml
Class XmlBeanConfig<T>

java.lang.Object
  extended by com.caucho.config.xml.XmlBeanConfig<T>

public class XmlBeanConfig<T>
extends java.lang.Object

Custom bean configured by namespace


Constructor Summary
XmlBeanConfig(QName name, java.lang.Class<T> cl, java.lang.Object parent)
           
 
Method Summary
 void addAdd(ConfigProgram add)
           
 void addAnnotation(java.lang.annotation.Annotation ann)
           
 void addArg(ConfigProgram arg)
           
 void addArgs(java.util.ArrayList<ConfigProgram> args)
           
 void addBuilderProgram(ConfigProgram program)
           
 void addField(XmlBeanFieldConfig fieldConfig)
           
 void addInitProgram(ConfigProgram program)
           
 void addMethod(XmlBeanMethodConfig methodConfig)
           
protected  Bean bindParameter(java.lang.String loc, java.lang.reflect.Type type, java.util.Set<java.lang.annotation.Annotation> bindingSet)
           
 java.lang.Class<T> getClassType()
           
 ConfigType<T> getConfigType()
           
 java.lang.String getFilename()
           
 int getLine()
           
 void init()
           
 void initComponent()
           
 void setBeansXml(boolean isBeansXml)
           
 void setConfigLocation(java.lang.String filename, int line)
           
 void setInlineBean(boolean isInline)
           
 java.lang.Object toObject()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlBeanConfig

public XmlBeanConfig(QName name,
                     java.lang.Class<T> cl,
                     java.lang.Object parent)
Method Detail

getConfigType

public ConfigType<T> getConfigType()

getClassType

public java.lang.Class<T> getClassType()

setConfigLocation

public void setConfigLocation(java.lang.String filename,
                              int line)

getFilename

public java.lang.String getFilename()

getLine

public int getLine()

setInlineBean

public void setInlineBean(boolean isInline)

setBeansXml

public void setBeansXml(boolean isBeansXml)

addArg

public void addArg(ConfigProgram arg)

addArgs

public void addArgs(java.util.ArrayList<ConfigProgram> args)

addAdd

public void addAdd(ConfigProgram add)

addInitProgram

public void addInitProgram(ConfigProgram program)

addBuilderProgram

public void addBuilderProgram(ConfigProgram program)

addAnnotation

public void addAnnotation(java.lang.annotation.Annotation ann)

addMethod

public void addMethod(XmlBeanMethodConfig methodConfig)

addField

public void addField(XmlBeanFieldConfig fieldConfig)

init

@PostConstruct
public void init()

initComponent

public void initComponent()

bindParameter

protected Bean bindParameter(java.lang.String loc,
                             java.lang.reflect.Type type,
                             java.util.Set<java.lang.annotation.Annotation> bindingSet)

toObject

public java.lang.Object toObject()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object