Examples of BaseComponentDefImpl


Examples of org.tubo.configuration.def.baseimpl.BaseComponentDefImpl

        //
        // create empty config
        BaseConfigurationImpl config = new BaseConfigurationImpl();
        //
        // create test component
        BaseComponentDefImpl componentDef = new BaseComponentDefImpl();
        componentDef.setId("testComponent");
        componentDef.setComponentClassname(org.tubo.resource.springimpl.TestComponent.class.getName());
        componentDef.setType("singleton");
        //
        // add properties to component
        componentDef.setProperty("field01","test_string_field");
        componentDef.setProperty("field02","13");
        //
        // add component to configuration
        config.add(componentDef);
        //
        // create SpringResourceManagerImpl
View Full Code Here

Examples of org.tubo.configuration.def.baseimpl.BaseComponentDefImpl

        //
        // create empty config
        BaseConfigurationImpl config = new BaseConfigurationImpl();
        //
        // create test component
        BaseComponentDefImpl componentDef = new BaseComponentDefImpl();
        componentDef.setId("testComponent");
        componentDef.setComponentClassname(org.tubo.resource.springimpl.TestComponent.class.getName());
        componentDef.setType("irrestricted");
        //
        // add properties to component
        componentDef.setProperty("field01","test_string_field");
        componentDef.setProperty("field02","13");
        //
        // add component to configuration
        config.add(componentDef);
        //
        // create SpringResourceManagerImpl
View Full Code Here

Examples of org.tubo.configuration.def.baseimpl.BaseComponentDefImpl

        //
        // create empty config
        BaseConfigurationImpl config = new BaseConfigurationImpl();
        //
        // create test component
        BaseComponentDefImpl componentDef = new BaseComponentDefImpl();
        componentDef.setId("testComponent");
        componentDef.setComponentClassname(TestComponent.class.getName());
        componentDef.setType("singleton");
        //
        // add properties to component
        componentDef.setProperty("field01","test_string_field");
        componentDef.setProperty("field02","13");
        //
        // add component to configuration
        config.add(componentDef);
        //
        // create SpringResourceManagerImpl
View Full Code Here

Examples of org.tubo.configuration.def.baseimpl.BaseComponentDefImpl

        //
        // create empty config
        BaseConfigurationImpl config = new BaseConfigurationImpl();
        //
        // create pooled test component
        BaseComponentDefImpl componentDef = new BaseComponentDefImpl();
        componentDef.setId("testComponent");
        componentDef.setComponentClassname(TestComponent.class.getName());
        componentDef.setType("pooled");
        componentDef.setMaxCapacity(3);
        //
        // add properties to component
        componentDef.setProperty("field01","test_string_field");
        componentDef.setProperty("field02","13");
        //
        // add component to configuration
        config.add(componentDef);
        //
        // create SpringResourceManagerImpl
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.