Package mx4j.connector.rmi.jrmp

Examples of mx4j.connector.rmi.jrmp.JRMPConnector.connect()


      properties.put("java.naming.factory.initial",
          "com.sun.jndi.rmi.registry.RegistryContextFactory");
      properties.put("java.naming.provider.url", connectionURL);
      JRMPConnector connector = new JRMPConnector();
      //JRMPConnectorWrapper connector = new JRMPConnectorWrapper();
      connector.connect("EM:rmiadaptor=MonitoringService", properties);

      rmiConn = connector.getRemoteMBeanServer();
      seeBeyondIQManager = new ObjectName("EM:" + factory.getEnvironmentName() + "="
          + factory.getLogicalhostName());
    } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.