Package wpn.hdri.ss

Examples of wpn.hdri.ss.StatusServerProperties


            public Client getClient(String name) {
                return client;
            }
        };

        EngineInitializer initializer = new EngineInitializer(StatusServerConfiguration.fromXml(xmlConfigPath), new StatusServerProperties());

        AttributesManager attributesManager = initializer.initializeAttributes(clientsManager);

        Engine engine = new Engine(clientsManager, attributesManager, null, 2);
        engine.submitPollingTasks(initializer.initializePollTasks(clientsManager, attributesManager));
View Full Code Here


     *
     * @throws Exception
     */
    @Test
    public void testBadClient() throws Exception {
        EngineInitializer instance = new EngineInitializer(StatusServerConfiguration.fromXml(xmlConfigPath), new StatusServerProperties());

        ClientsManager result = instance.initializeClients();

        assertTrue(result.getClient("Test.Device") instanceof ClientFactory.BadClient);
    }
View Full Code Here

    @StateMachine(endState = DeviceState.ON)
    public void init() throws Exception {
        Preconditions.checkNotNull(XML_CONFIG_PATH, "Path to xml configuration is not set.");
        StatusServerConfiguration configuration = StatusServerConfiguration.fromXml(XML_CONFIG_PATH);

        StatusServerProperties properties = PropertiesParser.createInstance(StatusServerProperties.class).parseProperties();

        EngineInitializer initializer = new EngineInitializer(configuration, properties);

        initializeDynamicAttributes(configuration.getStatusServerAttributes(), dynamicManagement);
View Full Code Here

TOP

Related Classes of wpn.hdri.ss.StatusServerProperties

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.