io.sarl.sre.janus.boot
Class SreMain
All Superinterfaces:
SREBootstrap, RunnableSREBootstrap
@org.eclipse.xtext.xbase.lib.XbaseGenerated
class SreMain
extends java.lang.Object
implements RunnableSREBootstrap
Class that implements the standard main function for running a SARL run-time environment with bootique modules.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.9
Property Summary
Modifier and type Property and description
BQRuntimeFactory bootiqueRuntimeFactory
Kernel kernel
java.util.logging.Logger kernelLogger
io.bootique.BQRuntime runtime
java.util.UUID universeContextUUID
java.util.UUID universeSpaceUUID
Action Summary
Property Details
bootiqueRuntimeFactory
var bootiqueRuntimeFactory : BQRuntimeFactory

This property is an alias for the action: getBootiqueRuntimeFactory

kernel
val kernel : Kernel

This property is an alias for the action: getKernel

kernelLogger
val kernelLogger : java.util.logging.Logger

This property is an alias for the action: getKernelLogger

runtime
val runtime : io.bootique.BQRuntime

This property is an alias for the action: getRuntime

universeContextUUID
var universeContextUUID : java.util.UUID

This property is an alias for the action: getUniverseContextUUID

universeSpaceUUID
var universeSpaceUUID : java.util.UUID

This property is an alias for the action: getUniverseSpaceUUID

Action Details
addSREListener(SREListener)
def addSREListener(SREListener)
filterCommandLineArguments(String)
def filterCommandLineArguments(String) : java.lang.String
Filter the command-line arguments for extracting the -D parameters.
Parameters:
args - the arguments.
Returns:
the filtered arguments.
Since:
0.12
fireSREStarted
protected def fireSREStarted
Notifies the observers that the SRE has been started.
Since:
0.11
fireSREStopped
protected def fireSREStopped
Notifies the observers that the SRE has been stopped.
Since:
0.11
getBootiqueRuntimeFactory
def getBootiqueRuntimeFactory : BQRuntimeFactory
getKernel
def getKernel : Kernel
getKernelLogger
def getKernelLogger : java.util.logging.Logger
getRuntime
def getRuntime : io.bootique.BQRuntime
getService(Class<T>)
def getService(Class<T>) : T

with T

getUniverseContextUUID
def getUniverseContextUUID : java.util.UUID
getUniverseSpaceUUID
def getUniverseSpaceUUID : java.util.UUID
injectMembers(Object)
def injectMembers(Object)
isRunning
def isRunning : boolean
removeSREListener(SREListener)
def removeSREListener(SREListener)
runSRE(String*)
def runSRE(String*) : int
setBootAgentTypeContextUUID
def setBootAgentTypeContextUUID
setBootiqueRuntimeFactory(BQRuntimeFactory)
def setBootiqueRuntimeFactory(BQRuntimeFactory)
setCommandLineArguments(String)
def setCommandLineArguments(String)
setRandomContextUUID
def setRandomContextUUID
setRuntime(BQRuntime)
def setRuntime(BQRuntime) : boolean
setSpecificContextUUID
def setSpecificContextUUID
setUniverseContextUUID(UUID)
def setUniverseContextUUID(UUID)
setUniverseSpaceUUID(UUID)
def setUniverseSpaceUUID(UUID)
setVerboseLevel(int)
def setVerboseLevel(int)
shutdown(int)
def shutdown(int)
startAgent(Class<T>,Object*)
def startAgent(Class<T>,Object*)
startAgent(int,Class<T>,Object*)
def startAgent(int,Class<T>,Object*)
startAgentWithID(Class<T>,UUID,Object*)
def startAgentWithID(Class<T>,UUID,Object*)
startBootAgent
def startBootAgent
startWithoutAgent(boolean,[Bootique],[Class<T>])
def startWithoutAgent(boolean,[Bootique],[Class<T>]) : AgentContext