org.oddjob.arooa.deploy
Class ClassBeanDescriptorProvider
java.lang.Object
org.oddjob.arooa.deploy.ClassBeanDescriptorProvider
- All Implemented Interfaces:
- BeanDescriptorProvider
public class ClassBeanDescriptorProvider
- extends Object
- implements BeanDescriptorProvider
A BeanDescriptorProvider
that looks for a class of
the same name as the bean plus Arooa to provide the descriptor.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_EXTENSION
public static final String NAME_EXTENSION
- See Also:
- Constant Field Values
ClassBeanDescriptorProvider
public ClassBeanDescriptorProvider()
getBeanDescriptor
public ArooaBeanDescriptor getBeanDescriptor(ArooaClass classIdentifier,
PropertyAccessor accessor)
- Specified by:
getBeanDescriptor
in interface BeanDescriptorProvider
- Parameters:
classIdentifier
- The class.accessor
- Used to access the bean properties for default
types.
- Returns:
- The bean descriptor, null if this provider
isn't capable of providing it.