Package com.netflix.config

Examples of com.netflix.config.DynamicStringProperty


        this.jsonMapper = jsonMapper;
    }

    @PostConstruct
    public void init() {
        DynamicStringProperty inputFP = new DynamicStringProperty(INPUT_CONFIG_PROPERTY, initialInputConfig) {
            @Override
            protected void propertyChanged() {
                buildInput(get(), false);
            }
        };

        buildInput(inputFP.get(), true);
    }
View Full Code Here


        this.jsonMapper = jsonMapper;
    }

    @PostConstruct
    public void init() {
        DynamicStringProperty routingMapFP = new DynamicStringProperty(ROUTING_MAP_PROPERTY, initialRoutingMap) {
            @Override
            protected void propertyChanged() {
                buildMap(get());
            }
        };

        buildMap(routingMapFP.get());
    }
View Full Code Here

TOP

Related Classes of com.netflix.config.DynamicStringProperty

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.