org.oddjob.arooa.deploy
Class AnnotatedBeanDescriptorProvider

java.lang.Object
  extended by org.oddjob.arooa.deploy.AnnotatedBeanDescriptorProvider
All Implemented Interfaces:
BeanDescriptorProvider

public class AnnotatedBeanDescriptorProvider
extends Object
implements BeanDescriptorProvider

Attempts to provide a ArooaBeanDescriptor from an annotated class.

Author:
rob

Constructor Summary
AnnotatedBeanDescriptorProvider()
           
 
Method Summary
 PropertyDefinitionsHelper getBeanDescriptor(ArooaClass classIdentifier, PropertyAccessor accessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedBeanDescriptorProvider

public AnnotatedBeanDescriptorProvider()
Method Detail

getBeanDescriptor

public PropertyDefinitionsHelper 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.