io.sarl.sre.janus.boot.internal.kernel
Class KernelModule
All Superinterfaces:
io.bootique.di.BQModule
class KernelModule
extends java.lang.Object
implements io.bootique.di.BQModule
Module for configuring the kernel specific components.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Action Summary
Modifier and type Action and description
void configure(Binder)
Context provideKernelContext(Injector,ContextFactory,UUID,UUID,LoggingService)
Replies the kernel instance.
org.arakhne.afc.services.IServiceManager provideServiceManager(Set<E>,Provider<T>)
Replies the manager of the SRE services.
Action Details
configure(Binder)
def configure(Binder)
provideKernelContext(Injector,ContextFactory,UUID,UUID,LoggingService)
def provideKernelContext(Injector,ContextFactory,UUID,UUID,LoggingService) : Context
Replies the kernel instance.
Parameters:
injector - the current injector.
factory - the factory of context for creating the root context.
rootContextId - the identifier of the root context.
rootDefaultSpaceId - the identifier of the root default space.
logger - the logging service.
Returns:
the kernel instance.
provideServiceManager(Set<E>,Provider<T>)
def provideServiceManager(Set<E>,Provider<T>) : org.arakhne.afc.services.IServiceManager
Replies the manager of the SRE services.
Parameters:
services - the SRE services.
config - the provider of configuration.
Returns:
the manager of the SRE services.