getAgentCreator
function must not need to be synchronized.
Modifier and type | Action and description |
---|---|
protected Agent | createAgent(Constructor<T>,Class<T>,UUID,UUID,DynamicSkillProvider*) Create the instance of the agent. |
protected java.lang.reflect.Constructor<T> | getAgentConstructor(Class<T>) Find the best constructor for creating an agent. |
protected def createAgent(Constructor<T>,Class<T>,UUID,UUID,DynamicSkillProvider*) : Agent
parentId
, agentId
and view to the skillProvider
. If the given constructor has two parameters, the arguments are parentId
and agentId
.
protected def getAgentConstructor(Class<T>) : java.lang.reflect.Constructor<T>with T extends Agent
AgentType(UUID, UUID)
AgentType(UUID, UUID, DynamicSkillProvider)