Package org.osgi.jmx.service.cm

Examples of org.osgi.jmx.service.cm.ConfigurationAdminMBean.update()


        PropertyData<String> prop1 = PropertyData.newInstance("B1", "value1");
        fConfig.put(prop1.toCompositeData());
        PropertyData<Boolean> prop2 = PropertyData.newInstance("B2", true);
        fConfig.put(prop2.toCompositeData());
       
        mbean.update(cpid, fConfig);
       
        Thread.sleep(1000);
       
        InterfaceB configured = managedFactory.getConfigured(cpid);
        assertNotNull(configured);
View Full Code Here


        assertEquals(0, data.size());
       
        p1 = PropertyData.newInstance("A1", "a1Value");
        data.put(p1.toCompositeData());
       
        mbean.update("org.apache.aries.jmx.test.ServiceA", data);
       
        Thread.sleep(1000);
       
        config = managedServiceA.getConfig();
        assertNotNull(config);
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.