Class CollectionWrapperBuilder
java.lang.Object
org.eclipse.persistence.jpa.rs.util.CollectionWrapperBuilder
Helper class used to create proxies for collections. Used in JPARS 2.0.
- Author:
- Dmitry Kornilov
-
Constructor Summary
ConstructorDescriptionCreates a new CollectionWrapperBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoid
wrapCollections
(Object object) Builds proxies for collections containing in a given object.
-
Constructor Details
-
CollectionWrapperBuilder
Creates a new CollectionWrapperBuilder.- Parameters:
context
- the persistence context.
-
-
Method Details
-
wrapCollections
Builds proxies for collections containing in a given object. Replaces original collections with newly created proxies.- Parameters:
object
- the object to wrap collections.
-