Package org.apache.geronimo.farm.discovery

Examples of org.apache.geronimo.farm.discovery.JmxDiscoveryPublisher


    public void testAgent() throws Exception {
        RMIRegistryService rmiRegistryService = new RMIRegistryService();
        rmiRegistryService.setHost("localhost");
        rmiRegistryService.setPort(1099);
        JmxDiscoveryPublisher jmxDiscoveryPublisher = new JmxDiscoveryPublisher("node2", "cluster2", "rmi", "JMXService", "farm",agent, rmiRegistryService);
        assertEquals("cluster2", clusterName);
        checkNodeInfo(nodeInfo, "node2", "localhost", 1099, "user", "pw", "rmi", "JMXService");


    }
View Full Code Here


    public void testAgent() throws Exception {
        RMIRegistryService rmiRegistryService = new RMIRegistryService();
        rmiRegistryService.setHost("localhost");
        rmiRegistryService.setPort(1099);
        JmxDiscoveryPublisher jmxDiscoveryPublisher = new JmxDiscoveryPublisher("node2", "cluster2", "rmi", "JMXService", "farm",agent, rmiRegistryService);
        assertEquals("cluster2", clusterName);
        checkNodeInfo(nodeInfo, "node2", "localhost", 1099, "user", "pw", "rmi", "JMXService");


    }
View Full Code Here

    public void testAgent() throws Exception {
        RMIRegistryService rmiRegistryService = new RMIRegistryService();
        rmiRegistryService.setHost("localhost");
        rmiRegistryService.setPort(1099);
        JmxDiscoveryPublisher jmxDiscoveryPublisher = new JmxDiscoveryPublisher("node2", "cluster2", "rmi", "JMXService", "farm",agent, rmiRegistryService);
        assertEquals("cluster2", clusterName);
        checkNodeInfo(nodeInfo, "node2", "localhost", 1099, "user", "pw", "rmi", "JMXService");


    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.farm.discovery.JmxDiscoveryPublisher

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.