Loads an agent into the system and makes it ready for execution but does not start execution.
The agentinfo has to
- contain a non-null reference to an agent,
- contain a non-null reference to a packager, if this is a mobile agent,
- return a non-null agent name.
@param agentInfo agent to be loaded
@throws AgentInfoException whenever the agentInfo does not fulfill the requirements