public interface ProxyHandler
Interface for classes that handle proxies
Type Params | Return Type | Name and description |
---|---|---|
|
public java.io.Serializable |
getIdentifier(java.lang.Object obj) Obtains the identifier of an object without initializing the proxy if it is one |
|
public java.lang.Class<?> |
getProxiedClass(java.lang.Object o) Get the class being proxied |
|
public void |
initialize(java.lang.Object o) Initialises the given object |
|
public boolean |
isInitialized(java.lang.Object object) Checks whether a given proxy is initialized |
|
public boolean |
isInitialized(java.lang.Object object, java.lang.String associationName) Checks whether the given association name of the given object is initialized |
|
public boolean |
isProxy(java.lang.Object object) Checks whether the specified instance is a proxy |
|
public 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