Class AccessorFactoryWrapper

java.lang.Object
org.eclipse.persistence.internal.jaxb.AccessorFactoryWrapper

public class AccessorFactoryWrapper extends 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
  • Constructor Details

    • AccessorFactoryWrapper

      public AccessorFactoryWrapper(Object factory)
  • Method Details

    • createFieldAccessor

      public Object createFieldAccessor(Class<?> beanClass, Field field, boolean isReadOnly)
    • createPropertyAccessor

      public Object createPropertyAccessor(Class<?> beanClass, Method getMethod, Method setMethod)