public interface Wrapper
| Modifier and Type | Method and Description |
|---|---|
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.
|
<T> T |
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.
|
boolean isWrapperFor(Class<?> iface) throws InternalException
iface - A Class defining an interface that the result must implement.InternalException - If no object found that implements the interface<T> T unwrap(Class<T> iface) throws InternalException
iface - A Class defining an interface that the result must implement.InternalException - If no object found that implements the interfaceCopyright © 2016. All Rights Reserved.