Class CollectionWrapperBuilder


  • public class CollectionWrapperBuilder
    extends java.lang.Object
    Helper class used to create proxies for collections. Used in JPARS 2.0.
    Author:
    Dmitry Kornilov
    Since:
    EclipseLink 2.6.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void wrapCollections​(java.lang.Object object)
      Builds proxies for collections containing in a given object.
      • Methods inherited from class java.lang.Object

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

      • CollectionWrapperBuilder

        public CollectionWrapperBuilder​(PersistenceContext context)
        Creates a new CollectionWrapperBuilder.
        Parameters:
        context - the persistence context.
    • Method Detail

      • wrapCollections

        public void wrapCollections​(java.lang.Object object)
        Builds proxies for collections containing in a given object. Replaces original collections with newly created proxies.
        Parameters:
        object - the object to wrap collections.