io.sarl.sre.janus.services.lifecycle
Class StandardLifecycleService
All Superinterfaces:
LifecycleService, org.arakhne.afc.services.IService
class StandardLifecycleService
extends AbstractLifecycleService
Implementation of a spawning service that is using standard object creation for creating the agents. No injection mechanism is used.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.11
Property Summary
Constructor Summary
Action Summary
Constructor Details
new(Injector,SarlSpecificationChecker,Provider<T>,Provider<T>,Provider<T>,Provider<T>,DynamicSkillProvider,SkillUninstaller,ExecutorService,LoggingService,SreConfig)
new(Injector,SarlSpecificationChecker,Provider<T>,Provider<T>,Provider<T>,Provider<T>,DynamicSkillProvider,SkillUninstaller,ExecutorService,LoggingService,SreConfig)
Constructs the service.
Parameters:
injector - the injector to be used.
sarlSpecificationChecker - the tool for checking the validity of the SARL specification supported by the agents to launch.
skillProvider - the provider of skills that should be used to init the agents.
lifecycleListener - the listener at the platform scale on life cycle events.
externalContextListener - the listener at the platform scale on context membership events.
factories - the provider of factories tool.
agentLevelInjector - the dynamic injector for the agent level.
skillUninstaller - the object this is able to uninstall the skills.
executor - the executor service.
logger - the logging service.
sreConfig - the configuration of the SRE.
new(SarlSpecificationChecker,AgentCreatorProvider,Provider<T>,Provider<T>,Provider<T>,Provider<T>,DynamicSkillProvider,SkillUninstaller,ExecutorService,LoggingService,LifecycleConfig)
new(SarlSpecificationChecker,AgentCreatorProvider,Provider<T>,Provider<T>,Provider<T>,Provider<T>,DynamicSkillProvider,SkillUninstaller,ExecutorService,LoggingService,LifecycleConfig)
Constructs the service.
Parameters:
sarlSpecificationChecker - the tool for checking the validity of the SARL specification supported by the agents to launch.
creator - the provider of agent creators that is used when spawning agents.
lifecycleListener - the listener at the platform scale on life cycle events.
externalContextListener - the listener at the platform scale on context membership events.
factories - the provider of factories tool.
agentLevelInjector - the dynamic injector for the agent level.
skillProvider - the system-wide provider of agent skills.
skillUninstaller - the object this is able to uninstall the skills.
executor - the executor service.
logger - the logging service.
lifecycleConfig - the configuration of the lifecycle service.