Package com.volantis.mcs.runtime.plugin.markup

Examples of com.volantis.mcs.runtime.plugin.markup.MarkupPluginManager


        MarinerApplication application = new MarinerApplication(){};
        ApplicationInternals.setVolantisBean(application, volantis);     
        MarinerRequestContext context = new TestMarinerRequestContext();
        ContextInternals.setMarinerApplication(context, application);
        for (int pluginCount=0; pluginCount < 6; pluginCount++) {
            MarkupPluginManager manager = volantis.getMarkupPluginManager();
            InvokeAttributes attrs = new InvokeAttributes();
            attrs.setName("myPlugin" + pluginCount);
            MarkupPlugin plugin = manager.getMarkupPlugin(
                    context, attrs.getName());

            if (plugin instanceof TestMarkupPlugin){
                Map args = ((TestMarkupPlugin)plugin).initializeArgs;
                for (int argCount = 0; argCount < 3; argCount++) {
View Full Code Here


                          IAPIAttributes iapiAttributes)
            throws IAPIException {
        MarinerPageContext pageContext =
                ContextInternals.getMarinerPageContext(context);

        MarkupPluginManager manager =
                pageContext.getVolantisBean().getMarkupPluginManager();

        InvokeAttributes attrs = (InvokeAttributes) iapiAttributes;

        final String pluginName = attrs.getName();
        MarkupPlugin plugin = manager.getMarkupPlugin(context, pluginName);

        String name = attrs.getName();
        String methodName = attrs.getMethodName();

        MarkupPluginMethod method = MarkupPluginMethod.literal(methodName);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.plugin.markup.MarkupPluginManager

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.