io.sarl.sre.janus.boot.configs.subconfigs
Class BootConfigModule
All Superinterfaces:
io.bootique.di.BQModule
class BootConfigModule
extends java.lang.Object
implements io.bootique.di.BQModule
Module for the SRE booting parameters.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.9
Field Summary
Modifier and type Field and description
public static val java.lang.String BOOT_TYPE_OPTION
public static val java.lang.String DEFAULT_SPACE_ID_OPTION
public static val java.lang.String NAME_OPTION
public static val java.lang.String ROOT_CONTEXT_ID_OPTION
Action Summary
Modifier and type Action and description
void configure(Binder)
java.lang.Class<T> getBootAgentType(Provider<T>)
Replies the type's name of the agent to boot.
static SREBootstrap getProgrammaticBootstrap
Replies the programmatic bootstrap for the SRE.
java.util.UUID getRootContextID(Provider<T>)
Replies the identifier of the root context.
java.util.UUID getRootSpaceID(Provider<T>)
Construct an identifier for the root default space.
Field Details
BOOT_TYPE_OPTION
public static val BOOT_TYPE_OPTION : java.lang.String = "boot-type"
DEFAULT_SPACE_ID_OPTION
public static val DEFAULT_SPACE_ID_OPTION : java.lang.String = "default-space-id"
NAME_OPTION
public static val NAME_OPTION : java.lang.String = "name"
ROOT_CONTEXT_ID_OPTION
public static val ROOT_CONTEXT_ID_OPTION : java.lang.String = "root-context-id"
Action Details
configure(Binder)
def configure(Binder)
getBootAgentType(Provider<T>)
def getBootAgentType(Provider<T>) : java.lang.Class<T>
Replies the type's name of the agent to boot.
Parameters:
config - accessor to the bootique factory.
Returns:
the name of the agent to boot.
getProgrammaticBootstrap
def getProgrammaticBootstrap : SREBootstrap
Replies the programmatic bootstrap for the SRE.
Returns:
the provider of the bootstrap.
getRootContextID(Provider<T>)
def getRootContextID(Provider<T>) : java.util.UUID
Replies the identifier of the root context.
Parameters:
config - accessor to the bootique factory.
Returns:
the context identifier
getRootSpaceID(Provider<T>)
def getRootSpaceID(Provider<T>) : java.util.UUID
Construct an identifier for the root default space.
Parameters:
config - accessor to the bootique factory.
Returns:
the space ID