io.sarl.sre.janus.internal
Interface ConfigurableAgentInjector
All Known Implementing Classes:
AgentLevelConfigurableAgentInjector, AgentTraitLevelConfigurableAgentInjector, NopConfigurableAgentInjector
@org.eclipse.xtext.xbase.lib.XbaseGenerated
interface ConfigurableAgentInjector
An injector of agent components that may be enable or disable according to the SRE configuration.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Action Summary
Modifier and type Action and description
abstract T injectAgentMembers(T)
Inject the members into the given agent.
abstract T injectAgentTraitMembers(T)
Inject the members into the given agent trait.
Action Details
injectAgentMembers(T)
def injectAgentMembers(T) : T

with T extends Agent

Inject the members into the given agent.
Parameters:
obj - the agent to initialize.
Returns:
obj .
injectAgentTraitMembers(T)
def injectAgentTraitMembers(T) : T

with T extends AgentTrait

Inject the members into the given agent trait.
Parameters:
obj - the agent trait to initialize.
Returns:
obj .