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

no.difi.oxalis.test.asd.AsdOutboundModule Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package no.difi.oxalis.test.asd;

import com.google.inject.AbstractModule;
import com.google.inject.Key;
import com.google.inject.Singleton;
import com.google.inject.name.Names;
import no.difi.oxalis.api.outbound.MessageSender;

/**
 * @author erlend
 */
public class AsdOutboundModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(Key.get(MessageSender.class, Names.named("oxalis-asd")))
                .to(AsdMessageSender.class)
                .in(Singleton.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy