org.gcube.common.resources
Class ResourceInterceptor
java.lang.Object
org.gcube.common.resources.ResourceInterceptor
- All Implemented Interfaces:
- InvocationHandler
public class ResourceInterceptor
- extends Object
- implements InvocationHandler
An interceptor of calls to Resource proxies.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceInterceptor
public ResourceInterceptor(Resource proxied)
- Creates an instance with a proxied
Resource.
- Parameters:
proxied - the resource
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2012. All Rights Reserved.