|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyManager
The proxy manager service allows clients to generate and manage proxies.
Method Summary | |
---|---|
Object |
createProxy(Bundle clientBundle,
Collection<Class<?>> classes,
Callable<Object> dispatcher)
|
Object |
createProxy(Bundle clientBundle,
Collection<Class<?>> classes,
Callable<Object> dispatcher,
InvocationHandlerWrapper wrapper)
|
boolean |
isProxy(Object proxy)
Returns true if and only if the specified object was generated by the ProxyManager. |
Callable<Object> |
unwrap(Object proxy)
This method unwraps the provided proxy returning the target object. |
Method Detail |
---|
Object createProxy(Bundle clientBundle, Collection<Class<?>> classes, Callable<Object> dispatcher) throws UnableToProxyException
UnableToProxyException
Object createProxy(Bundle clientBundle, Collection<Class<?>> classes, Callable<Object> dispatcher, InvocationHandlerWrapper wrapper) throws UnableToProxyException
UnableToProxyException
Callable<Object> unwrap(Object proxy)
proxy
- the proxy to unwrap.
boolean isProxy(Object proxy)
createProxy(Bundle,Collection,Callable)
for details on how to create a proxy.
proxy
- The proxy object to test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |