Package org.apache.openjpa.util
Class Proxies
java.lang.Object
org.apache.openjpa.util.Proxies
- Direct Known Subclasses:
ProxyCollections
,ProxyMaps
Utility methods for managing proxies.
- Author:
- Abe White
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertAllowedType
(Object value, Class allowed) Used by proxy types to check that an attempt to add a new value is legal.static void
Used by proxy types to dirty their owner.static boolean
isOwner
(Proxy proxy, OpenJPAStateManager sm, int field) Used by proxy types to check if the given owners and field names are equivalent.static void
Used by proxy types to notify collection owner on element removal.static Object
writeReplace
(Proxy proxy, boolean detachable) Used by proxy types to serialize non-proxy versions.
-
Constructor Details
-
Proxies
public Proxies()
-
-
Method Details
-
isOwner
Used by proxy types to check if the given owners and field names are equivalent. -
assertAllowedType
Used by proxy types to check that an attempt to add a new value is legal. -
dirty
Used by proxy types to dirty their owner. -
removed
Used by proxy types to notify collection owner on element removal. -
writeReplace
Used by proxy types to serialize non-proxy versions.
-