|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.type.ConfigType<T>
com.caucho.config.type.InlineBeanType
com.caucho.config.type.AbstractBeanType
public class AbstractBeanType
Represents an interface. The interface will try to lookup the value in webbeans.
Field Summary |
---|
Fields inherited from class com.caucho.config.type.InlineBeanType |
---|
TEXT, VALUE |
Constructor Summary | |
---|---|
AbstractBeanType(java.lang.Class type)
Create the interface type |
Method Summary | |
---|---|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Returns an InterfaceConfig object |
java.lang.Class |
getType()
Returns the Java type. |
void |
init(java.lang.Object bean)
Replace the type with the generated object |
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 value to a value of the type. |
java.lang.Object |
valueOf(java.lang.String text)
Converts the string to a value of the type. |
Methods inherited from class com.caucho.config.type.InlineBeanType |
---|
beforeConfigure, getAddAttribute, getAddBeanAttribute, getAttribute, getAttributeImpl, getConstructor, getContentProgramAttribute, getProgramAttribute, inject, introspect, introspectMethods, isConstructableFromString, isEL, isReplace, setAddAnnotation, setAddCustomBean |
Methods inherited from class com.caucho.config.type.ConfigType |
---|
afterConfigure, beforeConfigureBean, carefulIntrospect, createType, getComponentType, getDefaultAttribute, getType, getTypeName, isArray, isBean, isEnvBean, isInlineType, isNode, isNoTrim, isProgram, isQualifier, setEnvBean, setProperty, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractBeanType(java.lang.Class type)
Method Detail |
---|
public java.lang.Class getType()
getType
in class InlineBeanType
public java.lang.Object create(java.lang.Object parent, QName name)
create
in class InlineBeanType
public void init(java.lang.Object bean)
init
in class InlineBeanType
public java.lang.Object replaceObject(java.lang.Object bean)
replaceObject
in class InlineBeanType
public java.lang.Object valueOf(java.lang.String text)
valueOf
in class InlineBeanType
public java.lang.Object valueOf(java.lang.Object value)
valueOf
in class InlineBeanType
public java.lang.String toString()
toString
in class InlineBeanType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |