Package org.apache.tuscany.core.system.builder

Examples of org.apache.tuscany.core.system.builder.SystemContextFactoryBuilder


    /**
     * Returns a collection of bootstrap configuration builders
     */
    public static List<ContextFactoryBuilder> createSystemBuilders() {
        List<ContextFactoryBuilder> builders = new ArrayList<ContextFactoryBuilder>();
        builders.add((new SystemContextFactoryBuilder(null)));
        builders.add(new SystemEntryPointBuilder());
        builders.add(new SystemExternalServiceBuilder());
        return builders;
    }
View Full Code Here


     */
    public static ContextFactory<Context> createCompositeConfiguration(String name
    ) throws BuilderException, ConfigurationLoadException {

        Component sc = createCompositeComponent(name);
        SystemContextFactoryBuilder builder = new SystemContextFactoryBuilder(null);
        builder.build(sc);
        return (ContextFactory<Context>) sc.getContextFactory();
    }
View Full Code Here

     * @param monitorFactory
     * @return a default list of configuration builders
     */
    public static List<ContextFactoryBuilder> getBuilders(MonitorFactory monitorFactory) {
        List<ContextFactoryBuilder> configBuilders = new ArrayList<ContextFactoryBuilder>();
        configBuilders.add((new SystemContextFactoryBuilder(monitorFactory)));
        configBuilders.add(new SystemEntryPointBuilder());
        configBuilders.add(new SystemExternalServiceBuilder());
        return configBuilders;
    }
View Full Code Here

     * @param monitorFactory a monitorFactory that will be used to obtain monitors for system components
     * @return a default ContextFactoryBuilderRegistry
     */
    public static ContextFactoryBuilderRegistry bootstrapContextFactoryBuilders(MonitorFactory monitorFactory) {
        ContextFactoryBuilderRegistryImpl registry = new ContextFactoryBuilderRegistryImpl();
        registry.register(new SystemContextFactoryBuilder(monitorFactory));
        registry.register(new SystemEntryPointBuilder());
        registry.register(new SystemExternalServiceBuilder());
        return registry;
    }
View Full Code Here

    /**
     * Returns a collection of bootstrap configuration builders
     */
    public static List<ContextFactoryBuilder> createSystemBuilders() {
        List<ContextFactoryBuilder> builders = new ArrayList<ContextFactoryBuilder>();
        builders.add((new SystemContextFactoryBuilder(null)));
        builders.add(new SystemEntryPointBuilder());
        builders.add(new SystemExternalServiceBuilder());
        return builders;
    }
View Full Code Here

     *
     * @return a default list of configuration builders
     */
    public static List<ContextFactoryBuilder> getBuilders() {
        List<ContextFactoryBuilder> configBuilders = new ArrayList<ContextFactoryBuilder>();
        configBuilders.add((new SystemContextFactoryBuilder()));
        configBuilders.add(new SystemEntryPointBuilder());
        configBuilders.add(new SystemExternalServiceBuilder());
        return configBuilders;
    }
View Full Code Here

     *
     * @return a default list of configuration builders
     */
    public static List<ContextFactoryBuilder> getBuilders() {
        List<ContextFactoryBuilder> configBuilders = new ArrayList<ContextFactoryBuilder>();
        configBuilders.add((new SystemContextFactoryBuilder()));
        configBuilders.add(new SystemEntryPointBuilder());
        configBuilders.add(new SystemExternalServiceBuilder());
        return configBuilders;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.system.builder.SystemContextFactoryBuilder

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.