org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.rmi
Class ClientUnmarshaller

java.lang.Object
  extended by org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.ClientProxy
      extended by org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.rmi.ClientUnmarshaller
All Implemented Interfaces:
InvocationHandler

public class ClientUnmarshaller
extends ClientProxy

An MBeanServerConnection proxy that performs the setting of the appropriate context classloader to allow classloading of classes sent by the server but not known to the client, in methods like MBeanServerConnection.getAttribute(javax.management.ObjectName, java.lang.String), MBeanServerConnection.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) and so on.

Version:
$Revision: 1.1.1.1 $
Author:
Simone Bordet

Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
static javax.management.MBeanServerConnection newInstance(javax.management.MBeanServerConnection target, ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static javax.management.MBeanServerConnection newInstance(javax.management.MBeanServerConnection target,
                                                                 ClassLoader loader)

invoke

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


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.