Package com.netflix.config.ChainedDynamicProperty

Examples of com.netflix.config.ChainedDynamicProperty.StringProperty


        ConfigurationManager.getConfigInstance().setProperty("node1", "v1");
        ConfigurationManager.getConfigInstance().clearProperty("node2");
        ConfigurationManager.getConfigInstance().clearProperty("node3");

        DynamicStringProperty node1 = DynamicPropertyFactory.getInstance().getStringProperty("node1", "v1");
        StringProperty node2 = new ChainedDynamicProperty.StringProperty("node2", node1);

        ChainedDynamicProperty.StringProperty node3 = new ChainedDynamicProperty.StringProperty("node3", node2);

        assertTrue("" + node3.get(), "v1".equals(node3.get()));
View Full Code Here

TOP

Related Classes of com.netflix.config.ChainedDynamicProperty.StringProperty

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.