Package org.apache.tuscany.core.wire

Examples of org.apache.tuscany.core.wire.SynchronousBridgingInterceptor


            throw e;
        }
        if (nonBlocking) {
            sourceChain.setTargetInterceptor(new NonBlockingBridgingInterceptor(scheduler, workContext, head));
        } else {
            sourceChain.setTargetInterceptor(new SynchronousBridgingInterceptor(head));
        }
        sourceChain.prepare(); //FIXME prepare should be moved out
        sourceChain.setTargetInvoker(invoker);
    }
View Full Code Here


     * @param sourceChain
     * @param targetChain
     */
    void connect(InboundInvocationChain sourceChain, OutboundInvocationChain targetChain) {
        // invocations from inbound to outbound chains are always syncrhonius as they occur in services and references
        sourceChain.addInterceptor(new SynchronousBridgingInterceptor(targetChain.getHeadInterceptor()));
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.wire.SynchronousBridgingInterceptor

Copyright © 2018 www.massapicom. 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.