Package | Description |
---|---|
com.caucho.config.attribute | |
com.caucho.config.program | |
com.caucho.config.type | |
com.caucho.config.types | |
com.caucho.config.xml |
Modifier and Type | Method and Description |
---|---|
abstract ConfigType<?> |
Attribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType |
ListValueAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType |
ProgramAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<T> |
EnvironmentAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType |
EntryAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<T> |
AnnotationAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<T> |
SetterAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<T> |
AddAttribute.getConfigType() |
ConfigType<?> |
PropertyAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<T> |
TextAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<?> |
CreateAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType |
SetValueAttribute.getConfigType()
Returns the config type of the attribute value.
|
ConfigType<?> |
Attribute.getType(java.lang.Object childBean)
Returns the config type of the child bean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Attribute.create(java.lang.Object parent,
QName name,
ConfigType<?> type)
Creates the child bean.
|
java.lang.Object |
SetterAttribute.create(java.lang.Object parent,
QName name,
ConfigType<?> configType)
Creates the child bean.
|
boolean |
Attribute.isAssignableFrom(ConfigType<?> type) |
boolean |
Attribute.isInlineType(ConfigType<?> type)
True if the inline type matches
|
boolean |
AnnotationAttribute.isInlineType(ConfigType<?> type)
True if it allows inline beans
|
boolean |
SetterAttribute.isInlineType(ConfigType<?> type)
True if it allows inline beans
|
boolean |
CreateAttribute.isInlineType(ConfigType<?> type)
True if it allows inline beans
|
Constructor and Description |
---|
AddAttribute(java.lang.reflect.Method setMethod,
ConfigType<T> configType) |
EnvironmentAttribute(ConfigType<T> type) |
FlowAttribute(ConfigType type) |
ListValueAttribute(ConfigType type) |
ProgramAttribute(java.lang.reflect.Method setter,
ConfigType type) |
PropertyAttribute(java.lang.reflect.Method putMethod,
ConfigType<?> type) |
SetValueAttribute(ConfigType type) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ConfigProgram.create(ConfigType<T> type) |
<T> T |
RecoverableProgram.create(ConfigType<T> type,
CreationalContext<T> cxt) |
<T> T |
ExprProgram.create(ConfigType<T> type,
CreationalContext<T> env) |
<T> T |
NodeBuilderChildProgram.create(ConfigType<T> type,
CreationalContext<T> cxt) |
<T> T |
ConfigProgram.create(ConfigType<T> type,
CreationalContext<T> env) |
<T> T |
PropertyValueProgram.create(ConfigType<T> type,
CreationalContext<T> env) |
<T> T |
PropertyStringProgram.create(ConfigType<T> type,
CreationalContext<T> env) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBeanType
Represents an interface.
|
class |
AnnotationInterfaceType<T>
Represents an introspected bean type for configuration.
|
class |
AnnotationType |
class |
ArrayType<T,X>
Represents an array of values for configuration.
|
class |
BooleanPrimitiveType
Represents a boolean type.
|
class |
BooleanType
Represents a boolean or Boolean type.
|
class |
BytePrimitiveType
Represents a byte type.
|
class |
ByteType
Represents a byte or Byte type.
|
class |
CharacterPrimitiveType
Represents a char type.
|
class |
CharacterType
Represents a Character type.
|
class |
ClassType
Represents a class type.
|
class |
ConfigProgramType
Represents an interface.
|
class |
DataSourceType |
class |
DateType |
class |
DoublePrimitiveType
Represents a double type.
|
class |
DoubleType
Represents a double or Double type.
|
class |
EnumType
Represents an enumeration type
|
class |
EnvironmentBeanType<X>
Represents an introspected bean type for configuration.
|
class |
ExprType
Represents a String type.
|
class |
FileType |
class |
FloatPrimitiveType
Represents a float type.
|
class |
FloatType
Represents a float or Float type.
|
class |
FlowBeanType<T>
Represents an introspected bean type for configuration which implements
control flow like if/choose.
|
class |
InlineBeanType<T>
Represents an inline bean type for configuration.
|
class |
IntegerPrimitiveType
Represents an int type.
|
class |
IntegerType
Represents an int or Integer type.
|
class |
InterfaceType<T>
Represents an interface.
|
class |
LevelBuilder
Implements a java.util.logging levels
|
class |
ListType
Represents an introspected bean type for configuration.
|
class |
LocaleType
Represents a Locale type.
|
class |
LongPrimitiveType
Represents a long type.
|
class |
LongType
Represents a long or Long type.
|
class |
MapType
Represents an introspected bean type for configuration.
|
class |
MethodExpressionType
Represents a MethodExpression type.
|
class |
NodeType
Represents an introspected bean type for configuration.
|
class |
NotFoundConfigType
Marker for a mismatch
|
class |
NullType
Represents the null value
|
class |
ObjectType
Represents a Object type.
|
class |
PathType |
class |
PatternType
Represents a regexp type.
|
class |
PropertiesType
Represents a Properties type.
|
class |
PropertyEditorType
Represents a type with a PropertyEditor
|
class |
QDateType |
class |
RawStringArrayType
Represents a String[] type.
|
class |
RawStringType
Represents a String type.
|
class |
SetType
Represents an introspected bean type for configuration.
|
class |
ShortPrimitiveType
Represents a short type.
|
class |
ShortType
Represents a short or Short type.
|
class |
StringArrayType
Represents a String[] type.
|
class |
StringType
Represents a String type.
|
class |
UrlType |
class |
ValueExpressionType
Represents a ValueExpression type.
|
class |
ValueType
Represents a <value> type.
|
Modifier and Type | Field and Description |
---|---|
static ConfigType |
NotFoundConfigType.NULL |
static ConfigType |
NodeType.TYPE |
Modifier and Type | Method and Description |
---|---|
ConfigType<?> |
ConfigType.createType(QName name)
Creates a top-level instance of the type.
|
ConfigType<?> |
ObjectType.createType(QName name)
Creates a top-level instance of the type.
|
ConfigType<?> |
ConfigType.getComponentType() |
ConfigType<X> |
ArrayType.getComponentType() |
ConfigType<?> |
NamespaceBeanConfig.getConfigType() |
ConfigType<?> |
TypeFactory.getEnvironmentType(QName name)
Returns an environment type.
|
protected ConfigType<?> |
TypeFactory.getEnvironmentTypeRec(QName name)
Returns an environment type.
|
static <T> ConfigType<T> |
TypeFactory.getType(java.lang.Class<T> type)
Returns the appropriate strategy.
|
ConfigType<?> |
ConfigType.getType(java.lang.Object childBean)
Returns the config type of the child bean.
|
static ConfigType<?> |
TypeFactory.getType(java.lang.Object bean)
Returns the appropriate strategy.
|
static ConfigType<?> |
TypeFactory.getType(java.lang.reflect.Type type)
Returns the appropriate strategy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigType.isInlineType(ConfigType<?> type) |
boolean |
ArrayType.isInlineType(ConfigType<?> type) |
Constructor and Description |
---|
ArrayType(ConfigType<X> componentType,
java.lang.Class<X> componentClass) |
Modifier and Type | Method and Description |
---|---|
ConfigType<?> |
AnnotationConfig.getConfigType() |
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanType<T>
Represents a CanDI-style introspected bean type for configuration.
|
Modifier and Type | Method and Description |
---|---|
ConfigType |
XmlBeanMethodAttribute.getConfigType() |
ConfigType<T> |
XmlBeanConfig.getConfigType() |
ConfigType<?> |
XmlBeanNewAttribute.getConfigType() |
ConfigType<?> |
XmlBeanAttribute.getConfigType() |
ConfigType |
XmlBeanArgAttribute.getConfigType() |
ConfigType |
XmlBeanProgramAttribute.getConfigType() |
ConfigType<T> |
XmlBeanAddAttribute.getConfigType() |
ConfigType<T> |
XmlBeanAnnotationAttribute.getConfigType() |
ConfigType |
XmlBeanValueArgAttribute.getConfigType() |
ConfigType |
XmlBeanFieldAttribute.getConfigType() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
XmlConfigContext.configureNode(org.w3c.dom.Node node,
java.lang.Object bean,
ConfigType<?> beanType)
Configures a bean, calling its init() and replaceObject() methods.
|
java.lang.Object |
XmlConfigContext.create(org.w3c.dom.Node childNode,
ConfigType<?> type) |
Constructor and Description |
---|
XmlBeanAttribute(java.lang.reflect.Method setMethod,
ConfigType<?> configType) |