RemoteAdaptorInvocationHandler.java |
/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ // $Id: RemoteAdaptorInvocationHandler.java,v 1.5 2004/03/26 03:56:45 starksm Exp $ package org.jboss.net.jmx.adaptor; import org.jboss.net.jmx.MBeanInvocationHandler; import java.net.URL; /** * An example client that accesses the JMXConnector via SOAP. * @deprecated You should use the jaxrpc/wsdl approach instead. * @created 1. October, 2001 * @author <a href="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a> * @version $Revision: 1.5 $ */ public class RemoteAdaptorInvocationHandler { public static RemoteAdaptor createRemoteAdaptor(URL targetURL, String soapAction) { return (RemoteAdaptor) MBeanInvocationHandler.createMBeanService(RemoteAdaptor.class, targetURL, soapAction); } public static RemoteAdaptor createRemoteAdaptor(MBeanInvocationHandler handler) { return (RemoteAdaptor) MBeanInvocationHandler.createMBeanService(RemoteAdaptor.class, handler); } }
RemoteAdaptorInvocationHandler.java |