Package mx4j.connector.rmi.jrmp

Examples of mx4j.connector.rmi.jrmp.JRMPConnector


      Hashtable<String,String> properties = new Hashtable<String,String>();
      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) {
      log.fatal("Couldn't connect to the SeeBeyond logical host.");
      throw new HermesException("Please make sure you have added mx4j.jar, mx4j-tools.jar from logicalhost/stcma/lib",e);
View Full Code Here

TOP

Related Classes of mx4j.connector.rmi.jrmp.JRMPConnector

Copyright © 2018 www.massapicom. 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.