Skip to content
Snippets Groups Projects
Commit 2618fea0 authored by akwizgran's avatar akwizgran
Browse files

Guice module for stream transport connections.

parent e214c40b
No related branches found
No related tags found
No related merge requests found
package net.sf.briar.transport.stream;
import net.sf.briar.api.transport.StreamConnectionFactory;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
public class TransportStreamModule extends AbstractModule {
@Override
protected void configure() {
bind(StreamConnectionFactory.class).to(
StreamConnectionFactoryImpl.class).in(Singleton.class);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment