T
- The annotated resource interface.public class ClientInvocationHandler<T> extends Object implements InvocationHandler
ClientResource.wrap(Class)
and related methods.Constructor and Description |
---|
ClientInvocationHandler(ClientResource clientResource,
Class<? extends T> resourceInterface)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<AnnotationInfo> |
getAnnotations()
Returns the annotations of the resource interface.
|
ClientResource |
getClientResource()
Returns the associated client resource.
|
Object |
invoke(Object proxy,
Method javaMethod,
Object[] args)
Effectively invokes a Java method on the given proxy object.
|
public ClientInvocationHandler(ClientResource clientResource, Class<? extends T> resourceInterface)
clientResource
- The associated client resource.resourceInterface
- The annotated resource interface.public List<AnnotationInfo> getAnnotations()
public ClientResource getClientResource()
Copyright © 2005–2014. All rights reserved.