Examples of execute()


Examples of org.apache.axis2.clustering.control.wka.MemberListCommand.execute()

            while (responses == null || responses.length == 0)// Wait until we've received at least one response

            for (Response response : responses) {
                MemberListCommand command = (MemberListCommand) response.getMessage();
                command.setMembershipManager(primaryMembershipManager);
                command.execute(null); // Set the list of current members

                // If the WKA member is not part of this group, remove it
                if (!TribesUtil.areInSameDomain(response.getSource(),
                                                primaryMembershipManager.getLocalMember())) {
                    primaryMembershipManager.memberDisappeared(response.getSource());
View Full Code Here

Examples of org.apache.axis2.clustering.management.GroupManagementCommand.execute()

        @Override
        public void onMessage(Message<GroupManagementCommand> message) {
            GroupManagementCommand command = message.getMessageObject();
            try {
                command.execute(configurationContext);
            } catch (ClusteringFault e) {
                log.error("Cannot execute GroupManagementCommand" + command, e);
            }
        }
    }
View Full Code Here

Examples of org.apache.axis2.clustering.state.StateClusteringCommand.execute()

    public void execute(ConfigurationContext configContext) throws ClusteringFault {
        for (int i = 0; i < commands.size(); i++) {
            StateClusteringCommand cmd = (StateClusteringCommand) commands.get(i);
            if (cmd != null) {
                cmd.execute(configContext);
            }
        }
    }

    public String toString() {
View Full Code Here

Examples of org.apache.axis2.util.threadpool.ThreadFactory.execute()

                ConfigurationContext configContxt = new ConfigurationContext(axisConfiguration);
                ThreadFactory threadFactory = configContxt.getThreadPool();

                EventGenarator thread = new EventGenarator(messageContext, null, eventingConfigData
                        .getMessageThreshold(), eventElement, true, false, false, getMessageMap(), null, null);
                threadFactory.execute(thread);

                setMessageMap(new ConcurrentHashMap<String, Map<String, OMElement>>());

                Counter messageCounter = new Counter();
                messageCounter.resetMessageCount(messageContext);
View Full Code Here

Examples of org.apache.batik.apps.rasterizer.Main.execute()

                File target = (File) pair.second;
                args[index + 1] = target.getAbsolutePath();
                args[index + 2] = source.getAbsolutePath();
               
                Main rasterizer = new Main(args);
                rasterizer.execute();
            }
           
        }
    }
View Full Code Here

Examples of org.apache.bcel.verifier.structurals.InstructionContext.execute()

        Vector ics = new Vector(); // Type: InstructionContext
        Vector ecs = new Vector(); // Type: ArrayList (of InstructionContext)

        InstructionContext start = cfg.contextOf(method.getInstructionList().getStart());

        start.execute(vanillaFrame, new ArrayList(), icv, ev);
        // new ArrayList() <=>  no Instruction was executed before
        //                  => Top-Level routine (no jsr call before)
        ics.add(start);
        ecs.add(new ArrayList());
View Full Code Here

Examples of org.apache.beehive.netui.core.chain.Command.execute()

        if(xhrServletCommand != null) {
            /* todo: add a chain to create the Context object */
            WebChainContext webChainContext = new WebChainContext(ctxt, request, response);

            try {
                xhrServletCommand.execute(webChainContext);
            }
            catch(Exception e) {
                ServletUtils.throwServletException(e);
            }
        }
View Full Code Here

Examples of org.apache.cactus.maven2.mojos.CactifyEarMojo.execute()

                + "cactify-noparameters/plugin-config.xml");
        CactifyEarMojo mojo = (CactifyEarMojo) lookupMojo("cactifyear", testPom);
        assertNotNull(mojo);
        try
        {
          mojo.execute();
          fail("Exception should have been raised!");
        }
        catch (MojoExecutionException mex)
        {
          assertEquals("You need to specify [srcFile] attribute for cactification!", mex.getMessage());
View Full Code Here

Examples of org.apache.cactus.maven2.mojos.CactifyWarMojo.execute()

        CactifyWarMojo mojo = (CactifyWarMojo) lookupMojo("cactifywar",
                testPom);
        assertNotNull(mojo);
        try
        {
            mojo.execute();
        }
        catch(MojoExecutionException mojex)
        {
            assertEquals("You need to specify either the [srcFile] " +
                    "or the [version] attribute", mojex.getMessage());
View Full Code Here

Examples of org.apache.cassandra.concurrent.IStage.execute()

        IStage stage = StageManager.getStage(stageName);  
       
        if ( stage != null )
        {
            logger_.info("Running on stage " + stage.getName());
            stage.execute(runnable);
        }
        else
        {
            logger_.info("Running on default stage - beware");
            messageSerializerExecutor_.execute(runnable);
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.