All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aol.micro.server.rest.jersey.AsyncBinder Maven / Gradle / Ivy

The newest version!
package com.aol.micro.server.rest.jersey;

import org.glassfish.hk2.utilities.binding.AbstractBinder;
import org.glassfish.jersey.server.spi.internal.ResourceMethodDispatcher;
import org.glassfish.jersey.server.spi.internal.ResourceMethodInvocationHandlerProvider;

import javax.inject.Singleton;


public class AsyncBinder extends AbstractBinder {

    @Override
    protected void configure() {
        bind(AsyncDispatcher.AsyncDispatcherProvider.class).to(
                ResourceMethodDispatcher.Provider.class).in(Singleton.class)
                .ranked(1);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy