|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.mapper.PropertyMapperFactory
public class PropertyMapperFactory
Factory for creating PropertyMapper
instances based on a Property
and a bean.
Nested Class Summary | |
---|---|
static interface |
PropertyMapperFactory.Handler
The PropertyMapperFactory contains a set of so-called handlers. |
Constructor Summary | |
---|---|
PropertyMapperFactory()
Creates a new instance. |
Method Summary | |
---|---|
void |
addHandler(java.lang.Class<? extends Property> propertyType,
PropertyMapperFactory.Handler pHandler)
Adds a new handler, which is responsible for the given annotation class. |
static PropertyMapperFactory |
getInstance()
Returns the default PropertyMapperFactory . |
PropertyMapper |
getMapperFor(RegistryBean bean,
Property property)
Retrieves PropertyMapper for a bean method and property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyMapperFactory()
Method Detail |
---|
public static PropertyMapperFactory getInstance()
PropertyMapperFactory
.
public PropertyMapper getMapperFor(RegistryBean bean, Property property) throws MappingException
PropertyMapper
for a bean method and property.
bean
-
PropertyMapper
MappingException
public void addHandler(java.lang.Class<? extends Property> propertyType, PropertyMapperFactory.Handler pHandler)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |