|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassProxy
Objects that implement ClassProxy will be able to get the Class of the object they represent, and answer convenient instanceOf questions. Proxies will return the Class of their target object, and non-proxies will return their own Class.
Method Summary | |
---|---|
java.lang.Class |
getRealClass()
Return Class for the real object that a proxy represents, or the same as getClass() if called on the real object and it implements ClassProxy. |
boolean |
instanceOf(java.lang.Class cl)
Return true if the real Class for this object is an instanceof the given Java Class (which may represent a class or an interface). |
boolean |
instanceOf(java.lang.String className)
Return true if the real Class for this object is an instanceof the given className; for a ClusterRoot it is about the ClusterRoot itself, but for a proxy ClusterRootValueSource, it is about the ClusterRoot the proxy represents. |
Method Detail |
---|
java.lang.Class getRealClass()
boolean instanceOf(java.lang.Class cl)
boolean instanceOf(java.lang.String className)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |