Package org.apache.tuscany.core.config.impl

Examples of org.apache.tuscany.core.config.impl.StAXModuleComponentConfigurationLoaderImpl


     * @param systemContext the runtime's system context
     * @param modelContext  the model context the loader will use
     * @return the default module configuration loader
     */
    public static ModuleComponentConfigurationLoader getConfigurationLoader(SystemCompositeContext systemContext, AssemblyContext modelContext) {
        return new StAXModuleComponentConfigurationLoaderImpl(modelContext, XMLInputFactory.newInstance(), systemContext.resolveInstance(StAXLoaderRegistry.class));
    }
View Full Code Here


     */
    public static ModuleComponentConfigurationLoader getConfigurationLoader(SystemAggregateContext systemContext, AssemblyModelContext modelContext) throws ConfigurationException {
        if (useStax) {
            // Bootstrap the StAX loader module
            bootstrapStaxLoader(systemContext, modelContext);
            return new StAXModuleComponentConfigurationLoaderImpl(modelContext, XMLInputFactory.newInstance(), systemContext.resolveInstance(StAXLoaderRegistry.class));
        } else {
            return new ModuleComponentConfigurationLoaderImpl(modelContext);
        }
    }
View Full Code Here

     */
    public static ModuleComponentConfigurationLoader getConfigurationLoader(SystemAggregateContext systemContext, AssemblyModelContext modelContext) throws ConfigurationException {
        if (useStax) {
            // Bootstrap the StAX loader module
            bootstrapStaxLoader(systemContext, modelContext);
            return new StAXModuleComponentConfigurationLoaderImpl(modelContext, XMLInputFactory.newInstance(), systemContext.resolveInstance(StAXLoaderRegistry.class));
        } else {
            return new ModuleComponentConfigurationLoaderImpl(modelContext);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.config.impl.StAXModuleComponentConfigurationLoaderImpl

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.