Package org.eurekastreams.commons.actions.context

Examples of org.eurekastreams.commons.actions.context.ClientPrincipalActionContextImpl


    {
        // get the action
        Object springBean = beanFactory.getBean(actionName);

        // create context
        PrincipalActionContext actionContext = new ClientPrincipalActionContextImpl(actionParameter, principal,
                clientUniqueId);
        actionContext.setActionId(actionName);

        log.debug("Executing action {} for user {}.", actionName, principal.getAccountId());

        // execute (or not) based on type of bean
        if (springBean instanceof ServiceAction)
View Full Code Here


            // get parameter
            Serializable actionParameter = getRequestObject();

            // create ServiceActionContext.
            PrincipalActionContext actionContext = new ClientPrincipalActionContextImpl(actionParameter, principal,
                    clientUniqueId);
            actionContext.setActionId(actionKey);

            log.debug("executing action: " + actionKey + " for user: " + principal.getAccountId());

            Serializable result = "empty result";
            if (springBean instanceof ServiceAction)
View Full Code Here

TOP

Related Classes of org.eurekastreams.commons.actions.context.ClientPrincipalActionContextImpl

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.