Class CollectionWrapperBuilder


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

      • CollectionWrapperBuilder

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

      • wrapCollections

        public void wrapCollections​(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.