org.oddjob.arooa.reflect
Interface ArooaClass
- All Known Implementing Classes:
- DynaArooaClass, SimpleArooaClass, WrapDynaArooaClass
public interface ArooaClass
A container for type information that can be more than just class,
for instance when the type is a BeanUtils DynaBean.
Implementations should implement equals and hashCode so their
BeanOverviews may be cached. This is because creating them
is possibly an expensive operation due to introspection (although this
hasn't been prooved by the developer).
- Author:
- rob
forClass
Class<?> forClass()
newInstance
Object newInstance()
throws ArooaInstantiationException
- Throws:
ArooaInstantiationException
getBeanOverview
BeanOverview getBeanOverview(PropertyAccessor accessor)