org.jboss.cache
Class TreeCacheProxy
java.lang.Object
org.jboss.cache.TreeCacheProxy
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler, java.io.Serializable
- public class TreeCacheProxy
- extends java.lang.Object
- implements java.io.Serializable, java.lang.reflect.InvocationHandler
Simple Remoting-based proxy that can be downloaded (via JNDI) into the client's address space. Uses
java.lang.reflect.Proxy to handle all method calls, and uses remoteURI (identifies the server) and
targetObject (identifies the target MBean on the server side) to dispatch requests using Remoting
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCacheProxy
public TreeCacheProxy(java.lang.String remoteURI,
ObjectName (src) targetObject)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable