Examples of act()


Examples of org.apache.cocoon.acting.Action.act()

                } else {
                   
                    action = (Action)this.selector.select(this.componentName);
                    try {
                        actionResult = action.act(
                            redirector, resolver, objectModel, source, params);
                    } finally {
                        this.selector.release(action);
                    }
                }

Examples of org.apache.cocoon.acting.Action.act()

                redirector, resolver, objectModel, resolvedSource, resolvedParams );
           
        } else {
            Action action = (Action)this.selector.select(this.componentName);
            try {
                actionResult = action.act(
                redirector, resolver, objectModel, resolvedSource, resolvedParams );
               
            } finally {
                this.selector.release(action);
            }

Examples of org.apache.cocoon.acting.Action.act()

        ComponentSelector actionSelector
            = (ComponentSelector)sitemapManager.lookup(Action.ROLE + "Selector");
        Action action = (Action)actionSelector.select(type);
        Map result = null;
        try {
            result = action.act(redirector,
                                resolver,
                                this.environment.getObjectModel(),
                                source,
                                jsobjectToParameters(parameters));
        } finally {

Examples of org.apache.cocoon.acting.Action.act()

            actionResult = this.threadSafeAction.act(
                redirector, resolver, objectModel, resolvedSource, resolvedParams);
        } else {
            Action action = (Action)this.selector.select(this.componentName);
            try {
                actionResult = action.act(
                redirector, resolver, objectModel, resolvedSource, resolvedParams);

            } finally {
                this.selector.release(action);
            }

Examples of org.apache.cocoon.acting.Action.act()

                redirector, resolver, objectModel, resolvedSource, resolvedParams );

        } else {
            Action action = (Action)this.selector.select(this.componentName);
            try {
                actionResult = action.act(
                redirector, resolver, objectModel, resolvedSource, resolvedParams );

            } finally {
                this.selector.release(action);
            }

Examples of org.apache.cocoon.acting.Action.act()

                }

                // If action is ThreadSafe, avoid select() and try/catch block (faster !)
                if ((action = this.threadSafeActions[i]) != null) {

                    actionResult = action.act(
                        redirector, resolver, objectModel, source, actionParams);

                } else {

                    action = (Action)this.selector.select(this.types[i]);

Examples of org.apache.cocoon.acting.Action.act()

                } else {

                    action = (Action)this.selector.select(this.types[i]);
                    try {
                        actionResult = action.act(
                            redirector, resolver, objectModel, source, actionParams);
                    } finally {
                        this.selector.release(action);
                    }
                }

Examples of org.apache.cocoon.acting.Action.act()

            assertNotNull("Test if action name is not null", type);
            action = (Action) selector.select(type);
            assertNotNull("Test lookup of action", action);

            result = action.act(redirector, new SourceResolverAdapter(resolver),
                                objectmodel, source, parameters);

        } catch (ServiceException ce) {
            getLogger().error("Could not retrieve action", ce);
            fail("Could not retrieve action: " + ce.toString());

Examples of org.apache.cocoon.acting.Action.act()

            actionResult = this.threadSafeAction.act(redirector, resolver,
                    objectModel, resolvedSource, resolvedParams);
        } else {
            Action action = (Action)this.selector.select(this.componentName);
            try {
                actionResult = action.act(redirector, resolver,
                        objectModel, resolvedSource, resolvedParams);
            } finally {
                this.selector.release(action);
            }
        }

Examples of org.apache.cocoon.acting.Action.act()

            assertNotNull("Test if action name is not null", type);
            action = (Action) selector.select(type);
            assertNotNull("Test lookup of action", action);

            result = action.act(redirector, new SourceResolverAdapter(resolver),
                                objectmodel, source, parameters);

        } catch (ServiceException ce) {
            getLogger().error("Could not retrieve action", ce);
            fail("Could not retrieve action: " + ce.toString());
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.