JAVA/CORBA CLASSES
Two classes provide access to agents: AgentContext and Agent.
AgentContext
The AgentContext class provides a means to access attributes of the current agent environment for programs that are running as agents. Call getAgentContext in Session to get the current agent context; getAgentContext returns null if the program is not running as an agent.
The following methods access the AgentContext properties:
Agent
The Agent class represents an agent. You can access the current agent through getCurrentAgent in AgentContex. You can access all agents in a database through getAgents in Database. You can access a specified agent through getAgent in Database.
The following methods access the Agent properties:
Example See Also