org.oddjob.arooa.deploy
Class ClassBeanDescriptorProvider

java.lang.Object
  extended by 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

Field Summary
static String NAME_EXTENSION
           
 
Constructor Summary
ClassBeanDescriptorProvider()
           
 
Method Summary
 ArooaBeanDescriptor getBeanDescriptor(ArooaClass classIdentifier, PropertyAccessor accessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_EXTENSION

public static final String NAME_EXTENSION
See Also:
Constant Field Values
Constructor Detail

ClassBeanDescriptorProvider

public ClassBeanDescriptorProvider()
Method Detail

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.