Class AccessorFactoryWrapper


  • public class AccessorFactoryWrapper
    extends java.lang.Object

    Purpose: This class provides a wrapper for an instance of AccessorFactory. The instance can be from either the internal or public package. This class will reflectively invoke the createFieldAccessor and createPropertyAccessor methods on the underlying AccessorFactory to create Accessor instances.

    Since:
    EclipseLink 2.4
    Author:
    mmacivor
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessorFactoryWrapper​(java.lang.Object factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object createFieldAccessor​(java.lang.Class beanClass, java.lang.reflect.Field field, boolean isReadOnly)  
      java.lang.Object createPropertyAccessor​(java.lang.Class beanClass, java.lang.reflect.Method getMethod, java.lang.reflect.Method setMethod)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessorFactoryWrapper

        public AccessorFactoryWrapper​(java.lang.Object factory)
    • Method Detail

      • createFieldAccessor

        public java.lang.Object createFieldAccessor​(java.lang.Class beanClass,
                                                    java.lang.reflect.Field field,
                                                    boolean isReadOnly)
      • createPropertyAccessor

        public java.lang.Object createPropertyAccessor​(java.lang.Class beanClass,
                                                       java.lang.reflect.Method getMethod,
                                                       java.lang.reflect.Method setMethod)