mx4j.remote.rmi

Class ClientUnmarshaller

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, MBeanServerConnection.invoke and so on.
Version:
$Revision: 1.4 $

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 mx4j.remote.ClientProxy

invoke

Method Details

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
            throws Throwable
Overrides:
invoke in interface ClientProxy

newInstance

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

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.