Examples of Action


Examples of com.opensymphony.xwork.Action

    }else{
      if(userManager.hasUser(user) == false){
        session.clear();
      }
    }
    Action action = (Action)actionInvocation.getAction();
    if(user != null && (action instanceof LoggedInUserAware)){
      ((LoggedInUserAware)action).setLoggedInUser(user);     
    }       
    return actionInvocation.invoke();
  }
View Full Code Here

Examples of com.opensymphony.xwork2.Action

    Map<String, Object> parameters = new HashMap<String, Object>();
    parameters.put(sb.toString(), "");
    parameters.put("huuhaa", "");

    Action action = new SimpleAction();
    parametersInterceptor.setParameters(action, stack, parameters);
    assertEquals(1, actual.size());
  }
View Full Code Here

Examples of com.sk89q.craftbook.access.Action

        long currentTick = world.getTime();

        ArrayList<Action> actionQueue = new ArrayList<Action>();

        for (Iterator<Action> it = delayedActions.iterator(); it.hasNext(); ) {
            Action action = it.next();
            if (action.getRunAt() <= currentTick) {
                it.remove();
                actionQueue.add(action);
            }
        }

        for (Action action : actionQueue) {
            try {
                action.run();
            } catch (Throwable t) {
                t.printStackTrace();
            }
        }
    }
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.Action

      {
        fieldShowName = "action_id";
        if(task.getActionId() == null)
          fieldShowValue = "编辑";
       
        Action action = flow.getAction(task.getActionId());
        if(action != null)
          fieldShowValue = action.getName();
      }
      else if("action_user".equals( fieldName ) || "执行人".equals( fieldName )){
        fieldShowName = "action_user";
        fieldShowValue = task.getActionUser();
      }
View Full Code Here

Examples of com.stimulus.archiva.domain.ArchiveRules.Action

    public ArchiveRuleBean(ArchiveRules.Rule archiveRule) {
        this.archiveRule = archiveRule;
    }
   
    public void setAction(String action) throws ConfigurationException {
       Action newAction = Action.ARCHIVE;
       try {
        newAction = Action.valueOf(action.trim().toUpperCase());
       } catch (IllegalArgumentException iae) {
           logger.error("failed to set archive rule action. action is set to an illegal value {action='"+action+"'}");
           logger.info("archive rule is automatically set to archive the message (error recovery)");
View Full Code Here

Examples of com.sun.corba.se.spi.orbutil.fsm.Action

        return nextState ;
    }

    private Action getDefaultAction( StateImpl currentState )
    {
        Action action = currentState.getDefaultAction() ;
        if (action == null)
            action = defaultAction ;

        return action ;
    }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Action

    newRule.setEvent(event);
   
    //Action
    if(actionMbeanName!=null)
    {
        Action action = new Action();
        action.setActionMbeanName(actionMbeanName);
        newRule.setAction(action);
       
    }
    // insert new rule to config tree
    ManagementRules rules = (ManagementRules)getBaseConfigBean();
View Full Code Here

Examples of com.taobao.metamorphosis.utils.Utils.Action

            this.logger.warn("û�пͻ�������,meta: " + sender.getServerUrl());
            return null;
        }

        final AtomicInteger connSum = new AtomicInteger(0);
        Utils.processEachLine(result, new Action() {

            @Override
            public void process(String line) {
                String[] tmp = StringUtils.split(line, " ");
                if (tmp != null && tmp.length == 2) {
View Full Code Here

Examples of com.totsp.gwittir.client.action.Action

  public KeyBindingExample(){
    super( new BoundWidgetTypeFactory(), null);
    Button keyButton = new Button();
        keyButton.setHTML("<u>S</u>ave");
        keyButton.setKeyBinding(new KeyBinding('S', false, true, false));
        keyButton.setAction(new Action() {
                public void execute(BoundWidget model) {
                    Window.alert("SAVE!");
                }
            });
        add(keyButton);
View Full Code Here

Examples of com.vaadin.event.Action

        if (variables.containsKey("action")) {
            final StringTokenizer st = new StringTokenizer(
                    (String) variables.get("action"), ",");
            if (st.countTokens() == 2) {
                final Object itemId = itemIdMapper.get(st.nextToken());
                final Action action = actionMapper.get(st.nextToken());

                if (action != null && (itemId == null || containsId(itemId))
                        && actionHandlers != null) {
                    for (Handler ah : actionHandlers) {
                        ah.handleAction(action, this, itemId);
View Full Code Here
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.