Package com.google.gerrit.server.ssh
Class SshAddressesModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.gerrit.server.ssh.SshAddressesModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class SshAddressesModule extends com.google.inject.AbstractModule
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PORT
static int
IANA_SSH_PORT
-
Constructor Summary
Constructors Constructor Description SshAddressesModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
List<SocketAddress>
getListenAddresses(org.eclipse.jgit.lib.Config cfg)
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Field Detail
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
IANA_SSH_PORT
public static final int IANA_SSH_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
getListenAddresses
@Provides public List<SocketAddress> getListenAddresses(org.eclipse.jgit.lib.Config cfg)
-
-