org.glassfish.osgi.ee.resources
Class ResourceProxy
java.lang.Object
org.glassfish.osgi.ee.resources.ResourceProxy
- All Implemented Interfaces:
- InvocationHandler, Invalidate
public class ResourceProxy
- extends Object
- implements InvocationHandler, Invalidate
ResourceProxy that can delegate to actual objects upon usage.
Does not cache the actual object as the actual object can be re-configured
- Author:
- Jagadish Ramu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceProxy
public ResourceProxy(String jndiName)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
invalidate
public void invalidate()
- Sets the state of the proxy as invalid
- Specified by:
invalidate in interface Invalidate
Copyright © 2012 GlassFish Community. All Rights Reserved.