Examples of invoke()


Examples of org.apache.soap.rpc.Call.invoke()

            locationUri,
            " call object ",
            call);

        try {
            resp = call.invoke(locationUri, getSoapActionURI());
        } catch (SOAPException e) {
            Trc.exception(e);

            // Log message
            MessageLogger.log("WSIF.0005E", "ApacheSOAP", getName());
View Full Code Here

Examples of org.apache.stratos.throttling.manager.dataproviders.DataProvider.invoke()

                        "Error in invoking the data provider. " + "dataProviderConfigs is null or "
                                + "data provider is not yet loaded";
                log.error(msg);
                throw new ThrottlingException(msg);
            }
            dataProvider.invoke(dataContext);
            if (dataContext.isProcessingComplete()) {
                break;
            }
        }
    }
View Full Code Here

Examples of org.apache.stratos.throttling.manager.rules.RuleInvoker.invoke()

        // invoke the rule.
        RuleInvoker ruleInvoker = task.getRuleInvoker();
        try {
            //updating the rule. this is important if we are having more than one managers running
            ruleInvoker.updateRules();
            ruleInvoker.invoke(knowledgeBase);
            log.info("Throttling rules executed successfully");
        } catch (ThrottlingException e) {
            String msg = "Error in invoking the throttling rule invoker.";
            log.error(msg, e);
            throw new JobExecutionException(msg, e);
View Full Code Here

Examples of org.apache.tapestry.internal.test.ComponentInvoker.invoke()

        setThreadLocale();

        ComponentInvoker invoker = _invokerRegistry.getByInstance(invocation.getTarget());

        return invoker.invoke(invocation);
    }

    private void setThreadLocale()
    {
        _localizationSetter.setThreadLocale(_preferedLanguage);
View Full Code Here

Examples of org.apache.tapestry5.internal.structure.ComponentPageElementResources.invoke()

    private ComponentPageElementResources mockResources()
    {
        ComponentPageElementResources resources = newMock(ComponentPageElementResources.class);

        expect(resources.invoke(EasyMock.isA(String.class), EasyMock.isA(Invokable.class))).andAnswer(new IAnswer<Object>()
        {
            public Object answer() throws Throwable
            {
                Invokable inv = (Invokable) EasyMock.getCurrentArguments()[1];
View Full Code Here

Examples of org.apache.tapestry5.ioc.Invokable.invoke()

        {
            public Object answer() throws Throwable
            {
                Invokable inv = (Invokable) EasyMock.getCurrentArguments()[1];

                return inv.invoke();
            }
        });

        return resources;
    }
View Full Code Here

Examples of org.apache.tapestry5.ioc.OperationTracker.invoke()

        final Object moduleInstance = InternalUtils.isStatic(builderMethod) ? null : resources.getModuleBuilder();

        final OperationTracker tracker = resources.getTracker();

        return tracker.invoke(String.format("Invoking " + creatorDescription), new Invokable<Object>()
        {
            public Object invoke()
            {
                final OperationTracker tracker = resources.getTracker();
                Object result = null;
View Full Code Here

Examples of org.apache.tapestry5.ioc.services.ParallelExecutor.invoke()

                    return holder;
                }
            };

            thunks.add(parallelExecutor.invoke(StringHolder.class, inv));
        }

        for (int j = 0; j < 2; j++)
        {
            for (int i = 0; i < count; i++)
View Full Code Here

Examples of org.apache.tapestry5.plastic.InstructionBuilder.invoke()

            // Take the value passed to this method and push it onto the stack.

            builder.loadArgument(0);
            builder.boxPrimitive(typeName);

            builder.invoke(FieldConduit.class, void.class, "set", Object.class, InstanceContext.class, Object.class);

            if (isWriteBehindEnabled())
            {
                builder.loadThis().loadArgument(0).putField(className, node.name, typeName);
            }
View Full Code Here

Examples of org.apache.tapestry5.services.MethodAccess.invoke()

                {
                    public void advise(ComponentMethodInvocation invocation)
                    {
                        invocation.proceed();

                        MethodInvocationResult invocationResult = pvnaAccess.invoke(invocation.getInstance());

                        assertFalse(invocationResult.isFail(), "fail should be false, no checked exception thrown");
                    }
                });
            }
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.