public interface ProxyHandler
Interface that defines logic for handling proxied instances
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
initialize(Object o)Initializes an existing uninitialized proxy instance. |
|
public boolean |
isInitialized(Object o)Returns whether a lazy proxied instance has been initialized. |
|
public boolean |
isInitialized(Object obj, String associationName)Tests whether an association of the given object has been initialized. |
|
public boolean |
isProxy(Object o)Returns true if the specified object is a proxy. |
|
public Object |
unwrapIfProxy(Object instance)Returns the unwrapped proxy instance or the original object if not proxied. |
Initializes an existing uninitialized proxy instance.
o - The proxy instanceReturns whether a lazy proxied instance has been initialized.
o - The instance to testTests whether an association of the given object has been initialized.
obj - The object to checkassociationName - The associationReturns true if the specified object is a proxy.
o - The object in question