Package org.apache.karaf.instance.core.internal

Examples of org.apache.karaf.instance.core.internal.Instances.changeSshPort()


        EasyMock.expect(instanceService.getInstance("test instance")).andReturn(inst);
        EasyMock.replay(instanceService);
       
        InstancesMBean instanceServiceMBean = new Instances(instanceService);

        instanceServiceMBean.changeSshPort("test instance", 7788);
        EasyMock.verify(instanceService);
        EasyMock.verify(inst);
    }
   
    public void testRmiRegistryChangePort() throws Exception {
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.