Package org.apache.tuscany.sca.extension.helper

Examples of org.apache.tuscany.sca.extension.helper.InvokerFactory


public class EJBBindingActivator implements BindingActivator<EJBBinding> {

    public InvokerFactory createInvokerFactory(RuntimeComponent rc, RuntimeComponentReference rcr, final Binding b, final EJBBinding binding) {
        // TODO: assumes a Java interface, need to support tuscany generic Interface
        final Class si = ((JavaInterface)rcr.getInterfaceContract().getInterface()).getJavaClass();
        return new InvokerFactory() {
            public Invoker createInvoker(Operation operation) {
                return new EJBTargetInvoker((EJBBinding)binding, si, operation);
            }
         };
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.extension.helper.InvokerFactory

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.