Package org.g4studio.core.mvc.xstruts.action

Examples of org.g4studio.core.mvc.xstruts.action.Action


    if (actions == null) {
      actions = new HashMap();
      context.getApplicationScope().put(actionsKey, actions);
    }

    Action action = null;

    synchronized (actions) {
      action = (Action) actions.get(type);

      if (action == null) {
        log.info("Initialize action of type: " + type);
        action = (Action) ClassUtils.getApplicationInstance(type);
        actions.put(type, action);
      }
    }

    if (action.getServlet() == null) {
      ServletActionContext saContext = (ServletActionContext) context;
      ActionServlet actionServlet = saContext.getActionServlet();

      action.setServlet(actionServlet);
    }

    return (action);
  }
View Full Code Here


    if ((valid == null) || !valid.booleanValue()) {
      return (false);
    }

    // Acquire the resources we will need to send to the Action
    Action action = actionCtx.getAction();

    if (action == null) {
      return (false);
    }
View Full Code Here

      return (false);
    }

    // Create (if necessary) and cache an Action instance
    Action action = getAction(actionCtx, type, actionConfig);

    if (LOG.isTraceEnabled()) {
      LOG.trace("setting action to " + action);
    }
View Full Code Here

TOP

Related Classes of org.g4studio.core.mvc.xstruts.action.Action

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.