Package org.oddjob.arooa.deploy
Class DefaultBeanDescriptorProvider
java.lang.Object
org.oddjob.arooa.deploy.DefaultBeanDescriptorProvider
Provide a default descriptor with configured how based on the types of
the property. String and Primitive type properties are attributes,
everything else is elements.
- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindConfiguredHow(PropertyAccessor accessor, ConfiguredHowAccumulator accumulator) static booleanisAttribute(Class<?> propertyType)
-
Constructor Details
-
DefaultBeanDescriptorProvider
public DefaultBeanDescriptorProvider()
-
-
Method Details
-
findConfiguredHow
public void findConfiguredHow(PropertyAccessor accessor, ConfiguredHowAccumulator accumulator) throws ArooaPropertyException - Throws:
ArooaPropertyException
-
isAttribute
-