org.jboss.cache
Class TreeCacheProxy

java.lang.Object
  extended byorg.jboss.cache.TreeCacheProxy
All Implemented Interfaces:
InvocationHandler, Serializable

public class TreeCacheProxy
extends Object
implements Serializable, 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

Version:
$Id: TreeCacheProxy.java,v 1.1 2004/12/02 15:40:41 belaban Exp $
Author:
Bela Ban
See Also:
Serialized Form

Constructor Summary
TreeCacheProxy(String remoteURI, javax.management.ObjectName targetObject)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCacheProxy

public TreeCacheProxy(String remoteURI,
                      javax.management.ObjectName targetObject)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.