|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.type.ConfigType
com.caucho.config.type.BeanType
public class BeanType
Represents an introspected bean type for configuration.
| Constructor Summary | |
|---|---|
BeanType(java.lang.Class beanClass)
|
|
| Method Summary | |
|---|---|
void |
beforeConfigure(ConfigContext env,
java.lang.Object bean,
org.w3c.dom.Node node)
Called before the children are configured. |
java.lang.Object |
create(java.lang.Object parent)
Creates a new instance |
Attribute |
getAttribute(QName name)
Returns the attribute based on the given name. |
Attribute |
getContentProgramAttribute()
Returns the content program attribute (program excluding if, choose). |
Attribute |
getProgramAttribute()
Returns the program attribute. |
java.lang.Class |
getType()
Returns the given type. |
void |
init(java.lang.Object bean)
Initialize the type |
void |
inject(java.lang.Object bean)
Initialize the type |
void |
introspect()
Introspect the bean for configuration |
void |
introspectMethods(java.lang.reflect.Method[] methods)
Introspect the beans methods for setters |
java.lang.Object |
replaceObject(java.lang.Object bean)
Replace the type with the generated object |
java.lang.String |
toString()
|
java.lang.Object |
valueOf(java.lang.Object value)
Converts the string to the given value. |
java.lang.Object |
valueOf(java.lang.String text)
Converts the string to the given value. |
| Methods inherited from class com.caucho.config.type.ConfigType |
|---|
afterConfigure, beforeConfigureBean, getTypeName, isBean, isEL, isNode, isNoTrim, isProgram, valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanType(java.lang.Class beanClass)
| Method Detail |
|---|
public java.lang.Class getType()
getType in class ConfigTypepublic java.lang.Object create(java.lang.Object parent)
create in class ConfigType
public void beforeConfigure(ConfigContext env,
java.lang.Object bean,
org.w3c.dom.Node node)
beforeConfigure in class ConfigTypepublic Attribute getAttribute(QName name)
getAttribute in class ConfigTypepublic Attribute getProgramAttribute()
getProgramAttribute in class ConfigTypepublic Attribute getContentProgramAttribute()
getContentProgramAttribute in class ConfigTypepublic void inject(java.lang.Object bean)
inject in class ConfigTypepublic void init(java.lang.Object bean)
init in class ConfigTypepublic java.lang.Object replaceObject(java.lang.Object bean)
replaceObject in class ConfigTypepublic java.lang.Object valueOf(java.lang.String text)
valueOf in class ConfigTypepublic java.lang.Object valueOf(java.lang.Object value)
valueOf in class ConfigTypepublic void introspect()
introspect in class ConfigTypepublic void introspectMethods(java.lang.reflect.Method[] methods)
public java.lang.String toString()
toString in class ConfigType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||