Interface for classes that handle proxies
Type Params | Return Type | Name and description |
---|---|---|
|
java.io.Serializable |
getIdentifier(java.lang.Object obj) Obtains the identifier of an object without initializing the proxy if it is one |
|
java.lang.Class<?> |
getProxiedClass(java.lang.Object o) Get the class being proxied |
|
void |
initialize(java.lang.Object o) Initialises the given object |
|
boolean |
isInitialized(java.lang.Object object) Checks whether a given proxy is initialized |
|
boolean |
isInitialized(java.lang.Object object, java.lang.String associationName) Checks whether the given association name of the given object is initialized |
|
boolean |
isProxy(java.lang.Object object) Checks whether the specified instance is a proxy |
|
java.lang.Object |
unwrap(java.lang.Object object) Unwraps the given proxy if it is one |
Obtains the identifier of an object without initializing the proxy if it is one
obj
- The objectGet the class being proxied
o
- The objectInitialises the given object
o
- The object to initializeChecks whether a given proxy is initialized
object
- The object to checkChecks whether the given association name of the given object is initialized
object
- The object to check The object to checkChecks whether the specified instance is a proxy
object
- The object to checkUnwraps the given proxy if it is one
object
- The object