Package com.volantis.mcs.runtime.plugin

Examples of com.volantis.mcs.runtime.plugin.IntegrationPluginFactory


        MarkupPlugin result = null;

        MarkupEntry entry = (MarkupEntry) getEntry(pluginName);

        if (entry != null) {
            IntegrationPluginFactory factory = entry.getFactory();
            ContainerLocator locator = entry.getLocator();
            MarkupPluginContainer container = locator.getContainer(context);
            result = (MarkupPlugin) container.getPlugin(factory);
        } else {
            // if there was not a plugin then create an error plugin.
View Full Code Here


    protected Entry createEntry(IntegrationPluginConfiguration config,
                                MarinerApplication application) {

        MarkupPluginConfiguration cfg = (MarkupPluginConfiguration) config;
        String pluginName = cfg.getName();
        IntegrationPluginFactory factory;
        MarkupPluginScope scope = MarkupPluginScope.literal(cfg.getScope());
        if (scope == null) {
            IntegrationPlugin errorPlugin = createErrorPlugin(
                    MarkupPlugin.class,
                    pluginName,
View Full Code Here

        ac.setValue(argValue);
        config.addArgument(ac);

        MarkupPluginManagerImpl manager = createManagerForOnePlugin(config);

        IntegrationPluginFactory factory = manager.getFactory(pluginName);

        assertNotNull("Expected as a factory to be stored under the name key",
                      factory);
    }
View Full Code Here

    // Javadoc inherited.
    public void createApplicationPlugins() {

        for (Iterator i = pluginEntries.values().iterator(); i.hasNext();) {
            Entry entry = (Entry) i.next();
            IntegrationPluginFactory factory = entry.getFactory();

            if (isApplicationPlugin(entry)) {
                applicationContainer.getPlugin(factory);
            }
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.plugin.IntegrationPluginFactory

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.