Package org.apache.felix.ipojo.handlers.configuration

Examples of org.apache.felix.ipojo.handlers.configuration.ConfigurationListener


     * Test that the listeners registered on the tested instance are called when the instance is reconfigured.
     */
    @Test
    public void testConfigurationListener() {
        // Register listeners
        ConfigurationListener l1 = new CountingListener();
        fooConfig.addListener(l1);
        ConfigurationListener l2 = new ThrowingListener();
        fooConfig.addListener(l2);
        ConfigurationListener l3 = new AppendingListener();
        fooConfig.addListener(l3);

        // Trigger a manual reconfiguration
        Hashtable<String, Object> conf = new Hashtable<String, Object>();
        conf.put("int", 40);
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.handlers.configuration.ConfigurationListener

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.