Package org.switchyard.component.resteasy.util

Examples of org.switchyard.component.resteasy.util.ClientInvoker


*/
public class OsgiMethodInvokerFactory implements MethodInvokerFactory {

    @Override
    public MethodInvoker createInvoker(String basePath, Class<?> resourceClass, Method method, RESTEasyBindingModel model) {
        ClientInvoker invoker = new ClientInvoker(basePath, resourceClass, method, model);
        ResteasyProviderFactory repFactory = invoker.getResteasyProviderFactory();
        for (Class<?> provider : RESTEasyProviders.PROVIDERS) {
            repFactory.registerProvider(provider);
        }
        return invoker;
    }
View Full Code Here

TOP

Related Classes of org.switchyard.component.resteasy.util.ClientInvoker

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.