com.caucho.config.type
Class AbstractBeanType

java.lang.Object
  extended by com.caucho.config.type.ConfigType
      extended by com.caucho.config.type.BeanType
          extended by com.caucho.config.type.AbstractBeanType

public class AbstractBeanType
extends BeanType

Represents an interface. The interface will try to lookup the value in webbeans.


Constructor Summary
AbstractBeanType(java.lang.Class type)
          Create the interface type
 
Method Summary
 java.lang.Object create(java.lang.Object parent)
          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.BeanType
beforeConfigure, getAttribute, getContentProgramAttribute, getProgramAttribute, inject, introspect, introspectMethods
 
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

AbstractBeanType

public AbstractBeanType(java.lang.Class type)
Create the interface type

Method Detail

getType

public java.lang.Class getType()
Returns the Java type.

Overrides:
getType in class BeanType

create

public java.lang.Object create(java.lang.Object parent)
Returns an InterfaceConfig object

Overrides:
create in class BeanType

init

public void init(java.lang.Object bean)
Replace the type with the generated object

Overrides:
init in class BeanType

replaceObject

public java.lang.Object replaceObject(java.lang.Object bean)
Replace the type with the generated object

Overrides:
replaceObject in class BeanType

valueOf

public java.lang.Object valueOf(java.lang.String text)
Converts the string to a value of the type.

Overrides:
valueOf in class BeanType

valueOf

public java.lang.Object valueOf(java.lang.Object value)
Converts the value to a value of the type.

Overrides:
valueOf in class BeanType

toString

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