|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.service.proxy.AdaptableServiceInvoker<T>
public class AdaptableServiceInvoker<T extends AdaptableService>
Constructor Summary | |
---|---|
AdaptableServiceInvoker(T remote)
|
Method Summary | ||
---|---|---|
|
getAdapter(java.lang.Class<A> adapter)
Returns an object which is an instance of the given class associated with this object. |
|
T |
getRemote()
|
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdaptableServiceInvoker(T remote)
Method Detail |
---|
public T getRemote()
getRemote
in interface ServiceProxy<T extends AdaptableService>
public <A> A getAdapter(java.lang.Class<A> adapter)
Adaptable
null
if
no such object can be found.
getAdapter
in interface Adaptable
adapter
- the adapter class to look up
null
if this object does not
have an adapter for the given classpublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |