com.agfa.hap.sdo.mapper
Class ExtendablePropertyAccessorBuilder

java.lang.Object
  extended by com.agfa.hap.sdo.mapper.PropertyAccessorBuilder
      extended by com.agfa.hap.sdo.mapper.ExtendablePropertyAccessorBuilder

public class ExtendablePropertyAccessorBuilder
extends PropertyAccessorBuilder

PropertyAccessorBuilder that allows configuration of dedicated PropertyAccessor classes for properties. Each time such properties are accessed (read and written) the configured PropertyAccessor. Configuration of a property must be done in "sdo-propertyaccessors.properties" properties file. The name of a property should be the fully qualified class name followed by '.' followed by the name of the property. The value of the property is the fully qualified name of a class that implements PropertyAccessor.

Author:
AMOCZ

Field Summary
 
Fields inherited from class com.agfa.hap.sdo.mapper.PropertyAccessorBuilder
next
 
Constructor Summary
ExtendablePropertyAccessorBuilder(PropertyAccessorBuilder next)
           
 
Method Summary
protected  boolean accepts(java.lang.Class cls, Type type)
           
protected  PropertyAccessor createPropertyAccessor(java.lang.Class cls, Property prop)
           
 void reinitialize()
           
 
Methods inherited from class com.agfa.hap.sdo.mapper.PropertyAccessorBuilder
buildMap, createPropertyAccessorOrDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendablePropertyAccessorBuilder

public ExtendablePropertyAccessorBuilder(PropertyAccessorBuilder next)
Method Detail

accepts

protected boolean accepts(java.lang.Class cls,
                          Type type)
Specified by:
accepts in class PropertyAccessorBuilder
Returns:
If this propertyAccessorBuilder can create propertyAccessors for this class/type combination.

createPropertyAccessor

protected PropertyAccessor createPropertyAccessor(java.lang.Class cls,
                                                  Property prop)
Specified by:
createPropertyAccessor in class PropertyAccessorBuilder

reinitialize

public void reinitialize()


Copyright © 2007. All Rights Reserved.