Examples of invoke()


Examples of org.apache.camel.component.cxf.MessageInvoker.invoke()

        // How to deal with the oneway messge
        Runnable invocation = new Runnable() {

            public void run() {
                Exchange runableEx = message.getExchange();
                invoker.invoke(runableEx);
                if (!exchange.isOneWay()) {
                    Endpoint ep = exchange.get(Endpoint.class);
                    Message outMessage = runableEx.getOutMessage();
                    copyJaxwsProperties(message, outMessage);
                    if (outMessage == null) {
View Full Code Here

Examples of org.apache.camel.example.cxf.provider.Client.invoke()

    
    public void testClientInvocation() throws Exception {
        // set the client's service access point
        Client client = new Client("http://localhost:9000/GreeterContext/SOAPMessageService");
        // invoke the services
        String response = client.invoke();
       
        assertEquals("Get a wrong response", "Greetings from Apache Camel!!!! Request was  Hello Camel!!", response);
    }

    @Override
View Full Code Here

Examples of org.apache.catalina.Context.invoke()

                    session.access();
            }
        }

        // Ask this Context to process this request
        context.invoke(request, response);

        Thread.currentThread().setContextClassLoader
            (StandardHostValve.class.getClassLoader());

    }
View Full Code Here

Examples of org.apache.catalina.Host.invoke()

                              request.getRequest().getServerName()));
            return;
        }

        // Ask this Host to process this request
        host.invoke(request, response);

    }

}
View Full Code Here

Examples of org.apache.catalina.Valve.invoke()

   
    public synchronized void start() throws LifecycleException {
        if (pipelineInitialized) {
            try {
                Valve valve = getFirst();
                valve.invoke(null, null);
                //Install the DefaultSubjectValve after the authentication valve so the default subject is supplied
                //only if no real subject is authenticated.

                Valve defaultSubjectValve = new DefaultSubjectValve(defaultSubject);
                addValve(defaultSubjectValve);
View Full Code Here

Examples of org.apache.catalina.Wrapper.invoke()

        }

        // Ask this Wrapper to process this Request
        response.setContext(context);

        wrapper.invoke(request, response);

    }


    // -------------------------------------------------------- Private Methods
View Full Code Here

Examples of org.apache.cocoon.components.treeprocessor.ProcessingNode.invoke()

                if (viewNode != null) {
                    if (getLogger().isInfoEnabled()) {
                        getLogger().info("Jumping to view " + cocoonView + " from serializer at " + this.getLocation());
                    }
                    return viewNode.invoke(env, context);
                }
            }
        }
        // Perform link translation if requested
        if (env.getObjectModel().containsKey(Constants.LINK_OBJECT)) {
View Full Code Here

Examples of org.apache.cocoon.treeprocessor.ProcessingNode.invoke()

               
                if (viewNode != null) {
                    if (getLogger().isInfoEnabled()) {
                        getLogger().info("Jumping to view " + cocoonView + " from generator at " + this.getLocation());
                    }
                    return viewNode.invoke(env, context);
                }
            }
        }
       
        // Return false to contine sitemap invocation
View Full Code Here

Examples of org.apache.commons.jexl.util.introspection.VelMethod.invoke()

            // and if so, just use it
            Object[] params = new Object[0];
            Info velInfo = new Info("", 1, 1);
            VelMethod vm = Introspector.getUberspect().getMethod(val, "size", params, velInfo);
            if (vm != null && vm.getReturnType() == Integer.TYPE) {
                Integer result = (Integer) vm.invoke(val, params);
                return result.intValue();
            }
            throw new Exception("size() : unknown type : " + val.getClass());
        }
    }
View Full Code Here

Examples of org.apache.commons.jexl.util.introspection.VelPropertyGet.invoke()

            String s = loc.toString();

            VelPropertyGet vg = Introspector.getUberspect().getPropertyGet(o, s, DUMMY);

            if (vg != null) {
                return vg.invoke(o);
            }
        }

        throw new Exception("Unsupported object type for array [] accessor");
    }
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.