|
|||||||||
| 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(org.osgi.framework.Bundle clientBundle,
Collection<Class<?>> classes,
Callable<Object> dispatcher)
|
Object |
createProxy(org.osgi.framework.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 a ProxyFactory returned by a call to ProxyManager#createProxyFactory(boolean). |
Callable<Object> |
unwrap(Object proxy)
This method unwraps the provided proxy returning the target object. |
| Method Detail |
|---|
Object createProxy(org.osgi.framework.Bundle clientBundle,
Collection<Class<?>> classes,
Callable<Object> dispatcher)
throws UnableToProxyException
UnableToProxyException
Object createProxy(org.osgi.framework.Bundle clientBundle,
Collection<Class<?>> classes,
Callable<Object> dispatcher,
InvocationHandlerWrapper wrapper)
throws UnableToProxyException
UnableToProxyExceptionCallable<Object> unwrap(Object proxy)
proxy - the proxy to unwrap.
boolean isProxy(Object proxy)
ProxyManager#createProxyFactory(boolean).
proxy - The proxy object to test
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||