|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyHandler
Interface that defines logic for handling proxied instances
Method Summary | |
---|---|
void |
initialize(Object o)
Initializes an existing uninitialized proxy instance |
boolean |
isInitialized(Object o)
Returns whether a lazy proxied instance has been initialized |
boolean |
isInitialized(Object obj,
String associationName)
Tests whether an association of the given object has been initialized or not |
boolean |
isProxy(Object o)
Returns true if the specified object is a proxy |
Object |
unwrapIfProxy(Object instance)
Returns the unwrapped proxy instance or the original object if not proxied |
Method Detail |
---|
boolean isProxy(Object o)
o
- The object in question
Object unwrapIfProxy(Object instance)
instance
- The instance to unwrap
boolean isInitialized(Object o)
o
- The instance to test
void initialize(Object o)
o
- The proxy instanceboolean isInitialized(Object obj, String associationName)
obj
- The object to checkassociationName
- The association
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |