| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Wrapper
Interface for ORDI classes to provide ability to retrieve the delegate instance when the instance in question is in fact proxy class.
Wrapper| Method Summary | ||
|---|---|---|
 boolean | 
isWrapperFor(Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.  | 
|
 | 
unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.  | 
|
| Method Detail | 
|---|
boolean isWrapperFor(Class<?> iface)
                     throws ORDIException
iface - A Class defining an interface that the result must implement.
ORDIException
<T> T unwrap(Class<T> iface)
         throws ORDIException
iface - a Class defining an interface.
ORDIException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||