Examples of 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

Examples of org.geotools.data.wfs.v1_0_0.Action

            }

            Iterator actions = transactionRequest.getAllActions().iterator();

            while (actions.hasNext()) {
                Action a = (Action) actions.next();

                switch (a.getType()) {
                case Action.DELETE:
                    elems[3].getType().encode(elems[3], a, output, hints);

                    break;
View Full Code Here

Examples of org.gradle.api.Action

            remap.setInJar(processed);
            remap.dependsOn(patch);
        }
       
        // configure eclipse task to do extra stuff.
        project.getTasks().getByName("eclipse").doLast(new Action() {

            @Override
            public void execute(Object arg0)
            {
                File f = new File(ECLIPSE_LOCATION);
View Full Code Here

Examples of org.gwt.mosaic.actions.client.Action

    super();

    History.addValueChangeHandler(new ValueChangeHandler<String>() {
      public void onValueChange(ValueChangeEvent<String> event) {
        final ActionMap actionMap = getContext().getActionMap();
        final Action action = actionMap.get(event.getValue());
        if (action != null) {
          action.actionPerformed(new ActionEvent(action,
              Application.getInstance()));
        }
      }
    });
  }
View Full Code Here

Examples of org.hbase.async.generated.ClientPB.Action

        }
        actions = RegionAction.newBuilder();
        actions.setRegion(rpc.getRegion().toProtobuf());
        prev_region = region.name();
      }
      final Action action = Action.newBuilder()
        .setIndex(i++)
        .setMutation(rpc.toMutationProto())
        .build();
      actions.addAction(action);
    }
View Full Code Here

Examples of org.jahia.bin.Action

                    logger.debug("Registering ErrorHandler '" + beanName + "'");
                }
                templatePackageRegistry.errorHandlers.add((ErrorHandler) bean);
            }
            if (bean instanceof Action) {
                Action action = (Action) bean;
                if (logger.isDebugEnabled()) {
                    logger.debug("Registering Action '" + action.getName() + "' (" + beanName + ")");
                }
                templatePackageRegistry.actions.put(action.getName(), action);
            }
            if (bean instanceof ModuleChoiceListInitializer) {
                ModuleChoiceListInitializer moduleChoiceListInitializer = (ModuleChoiceListInitializer) bean;
                if (logger.isDebugEnabled()) {
                    logger.debug("Registering ModuleChoiceListInitializer '" + moduleChoiceListInitializer.getKey() + "' (" + beanName + ")");
View Full Code Here

Examples of org.jboss.aesh.edit.actions.Action

     * @return out
     * @throws IOException stream
     */
    private String parseOperation(Operation operation, Character mask) throws IOException {

        Action action = operation.getAction();

        if(askDisplayCompletion) {
            askDisplayCompletion = false;
            if('y' == (char) operation.getInput()[0]) {
                displayCompletion = true;
View Full Code Here

Examples of org.jboss.forge.classloader.mock.sidewaysproxy.Action

      ClassLoader A = this.getClass().getClassLoader();
      ClassLoader B = registry.getAddon(AddonId.from("B", "1")).getClassLoader();
      ClassLoader C = registry.getAddon(AddonId.from("C", "1")).getClassLoader();

      Class<?> typeAction1 = B.loadClass(Action1.class.getName());
      Action action1 = getProxiedInstance(A, B, typeAction1);

      Class<?> typePayload1 = C.loadClass(Payload1.class.getName());
      Payload payload1 = getProxiedInstance(A, C, typePayload1);

      Context context = new ContextImpl();
      ContextValue<Payload> value = new ContextValueImpl<Payload>();
      value.set(payload1);
      context.set(value);

      action1.handle(context);
   }
View Full Code Here

Examples of org.jboss.gwt.circuit.Action

        List<Action> actions = new ArrayList<>(size);

        for (int i = 0; i < size; i++) {
            Op op = Op.values()[random.nextInt(Op.values().length)];
            boolean noop = 1 + random.nextInt(11) % 4 == 4;
            Action action = noop ? new NoopAction() : new TermAction(
                    new Term(1 + random.nextInt(10), op, 1 + random.nextInt(10)));
            actions.add(action);
        }
        return actions;
    }
View Full Code Here

Examples of org.jboss.seam.pages.Action

      page.setScheme( element.attributeValue("scheme") );
     
      ConversationIdParameter param = conversations.get( element.attributeValue("conversation") );
      if (param != null) page.setConversationIdParameter(param);
     
      Action action = parseAction(element, "action");
      if (action!=null) page.getActions().add(action);
      List<Element> childElements = element.elements("action");
      for (Element childElement: childElements)
      {
         page.getActions().add( parseAction(childElement, "execute") );
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.