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