Examples of call()


Examples of org.jboss.narayana.blacktie.jatmibroker.jab.factory.JABConnection.call()

      JABConnection c = jcf.getConnection("connection");
      Transaction t = c.beginTransaction(-1);
      JABBuffer b = new JABBuffer();
      b.setValue("X_OCTET", message.getBytes());
      log.info("Calling call with input: " + message);
      JABResponse call = c.call("FOOAPP", b, t, "X_OCTET", null);
      log.info("Called call with output: " + call.getValue("X_OCTET"));
      t.commit();
      jcf.closeConnection("connection");
    } catch (JABException e) {
      log.error("JAB error: " + e.getMessage(), e);
View Full Code Here

Examples of org.jboss.test.refs.common.EjbLinkIF.call()

   public void callOne() throws Exception
   {
      Object obj = ServiceLocator.lookup(BEAN1_REF_NAME);
      EjbLinkIF bean1 = (EjbLinkIF) obj;
      bean1.call();
   }

   public void callThree() throws Exception
   {
      Object obj = ServiceLocator.lookup(BEAN3_REF_NAME);
View Full Code Here

Examples of org.jboss.weld.context.conversation.ConversationIdGenerator.call()

        if (!(getRequestAttribute(getRequest(), CONVERSATION_ID_GENERATOR_ATTRIBUTE_NAME) instanceof ConversationIdGenerator)) {
            throw ConversationLogger.LOG.conversationIdGeneratorNotFound();
        }
        checkContextInitialized();
        ConversationIdGenerator generator = (ConversationIdGenerator) getRequestAttribute(getRequest(), CONVERSATION_ID_GENERATOR_ATTRIBUTE_NAME);
        return generator.call();
    }

    private static boolean isExpired(ManagedConversation conversation) {
        return System.currentTimeMillis() > (conversation.getLastUsed() + conversation.getTimeout());
    }
View Full Code Here

Examples of org.jclouds.compute.callables.RunScriptOnNode.call()

         if (options.shouldBlockUntilRunning()) {
            pollNodeRunning.apply(node);
            if (statement != null) {
               RunScriptOnNode runner = initScriptRunnerFactory.create(node.get(), statement, options, badNodes).call();
               if (runner != null) {
                  ExecResponse exec = runner.call();
                  customizationResponses.put(node.get(), exec);
               }
            }
            if (options.getPort() > 0) {
               openSocketFinder.findOpenSocketOnNode(node.get(), options.getPort(), options.getSeconds(),
View Full Code Here

Examples of org.jibx.ws.soap.client.SoapClient.call()

        m_fact = BindingDirectory.getFactory("example_binding", "org.jibx.ws.example.custom.exception.common");
    }

    private Object sayHello(Greetee s) throws WsException, IOException {
        SoapClient client = new SoapClient(m_location, m_fact);
        return client.call(s);
    }

    /**
     * Sends a name to the web service, which throws a SOAP fault.
     *
 
View Full Code Here

Examples of org.jitterbit.application.ui.window.event.ActiveObjectProviderListeners.call()

        public void notifyListeners(ActiveObjectProviderEvent evt) {
            globalListeners.call().activeObjectsChanged(evt);
            String providerId = evt.getSource().getProviderId();
            ActiveObjectProviderListeners individual = individualListeners.get(providerId);
            if (individual != null) {
                individual.call().activeObjectsChanged(evt);
            }
        }
    }
   
   
View Full Code Here

Examples of org.jitterbit.integration.client.plugin.pipeline.cache.PipelinePluginCacheUpdateCall.call()

        private void refresh() {
            IntegrationServer server = IntegrationServer.getInstance();
            PipelinePluginInfoProvider provider = server.getServerCall(PipelinePluginInfoProvider.class);
            PipelinePluginCacheUpdateCall call = new PipelinePluginCacheUpdateCall(getServerCache(), provider);
            call.setErrorHandler(this);
            call.call();
        }

        @Override
        public void caught(Throwable e) {
            ErrorLog.attention(ScriptPluginProviderImpl.class, "The plugin list could not be refreshed: "
View Full Code Here

Examples of org.jooq.tools.reflect.Reflect.call()

            log.info("SKIPPING", "procedure tests with default parameters");
            return;
        }

        Reflect executedWithDefaults = pdefault.create();
        executedWithDefaults.call("execute", create());
        assertEquals(0, executedWithDefaults.call("getPOutNumber").<Number>get().intValue());
        assertEquals("0", executedWithDefaults.call("getPOutVarchar").get());
        assertEquals(Date.valueOf("1981-07-10"), executedWithDefaults.call("getPOutDate").get());

        Reflect executedWithoutDefault = pdefault.create();
View Full Code Here

Examples of org.jruby.RubyMethod.call()

                @Override
                public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) {
                    if (self.callMethod(context, "__getobj__") != object) {
                        throw context.getRuntime().newNameError("object changed", "object changed");
                    }
                    return method.call(context, args, block);
                }
            }, self);
        }

        @JRubyMethod(name = "respond_to?")
View Full Code Here

Examples of org.jruby.RubyProc.call()

                rubyArgs[1] = method;
                for (int i = 0; i < length; i++) {
                    rubyArgs[i + 2] = JavaUtil.convertJavaToRuby(getRuntime(),
                            nargs[i]);
                }
                IRubyObject call_result = proc.call(getRuntime().getCurrentContext(), rubyArgs);
                Object converted_result = JavaUtil.convertRubyToJava(
                        call_result, method.getReturnType());
                return converted_result;
            }
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.