Class CollectionWrapperBuilder

java.lang.Object
org.eclipse.persistence.jpa.rs.util.CollectionWrapperBuilder

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

    • CollectionWrapperBuilder

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

    • 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.