io.sarl.sre.janus.network.boot.configs
Class SreNetworkConfigModule
All Superinterfaces:
io.bootique.di.BQModule
class SreNetworkConfigModule
extends java.lang.Object
implements io.bootique.di.BQModule
Module for creating and configuring the networking features of the SRE.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.network
Since:
0.12
Field Summary
Modifier and type Field and description
public static val java.lang.String NETWORK_LONG_OPTION
Action Summary
Modifier and type Action and description
void configure(Binder)
SreNetworkConfig provideSreNetworkConfig(ConfigurationFactory,Injector)
Replies the instance of the network configuration.
Field Details
NETWORK_LONG_OPTION
public static val NETWORK_LONG_OPTION : java.lang.String = "network"
Action Details
configure(Binder)
def configure(Binder)
provideSreNetworkConfig(ConfigurationFactory,Injector)
def provideSreNetworkConfig(ConfigurationFactory,Injector) : SreNetworkConfig
Replies the instance of the network configuration.
Parameters:
configFactory - accessor to the bootique factory.
injector - the current injector.
Returns:
the configuration accessor.