Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/0/0dd4f1b1dd5493e6a492d5fae63fa624.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/0/0dd4f1b1dd5493e6a492d5fae63fa624.xhtml failed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:agent:java [2012/05/22 10:13]
reinier [Java Agent API]
development:agent:java [2012/11/12 18:32] (current)
clark [Java Agent API]
Line 117: Line 117:
 As demonstrated in the [[development:agent:examples#migration_example|Migration Example]], an agent can request to be moved to a new location. Once the request has been granted, the agent at the source location should clean up all its resources, which can be implemented in the ''cleanUp()'' method. Once the resources have been cleaned up, the agent will be transported to the new location. As demonstrated in the [[development:agent:examples#migration_example|Migration Example]], an agent can request to be moved to a new location. Once the request has been granted, the agent at the source location should clean up all its resources, which can be implemented in the ''cleanUp()'' method. Once the resources have been cleaned up, the agent will be transported to the new location.
  
-In addition to the serialized agent object, the agent will also take with it any information stored in its **agent container**. The agent container is an storage mechanism external to the agent class, with a Map-like interface. It allows to store and persist data belonging to the agent, which will be encrypted and (if required) secured against tampering. The agent container consists of a number of segment types (middleware data, application code, certificates, user data, etc). The agent itself has access to its data segments via the Map API.+In addition to the serialized agent object, the agent will also take with it any information stored in its **agent container**. The agent container is storage mechanism external to the agent class, with a Map-like interface. It allows to store and persist data belonging to the agent, which will be encrypted and (if required) secured against tampering. The agent container consists of a number of segment types (middleware data, application code, certificates, user data, etc). The agent itself has access to its data segments via the Map API.
  
 The container can be obtained with the ''getAgentContainer()'' method. It returns an object of type ''org.iids.aos.agent.AgentContainer'', which is an implementation of the ''java.util.Map'' interface of the agent container provided by the AOS kernel. This means that you can use all the regular **put** and **get** operations of the Map interface, but it also provides the security features (integrity protection) of the AOS agent container. It has one addition method: ''setReadOnly()''. Readonly entries cannot be modified or removed during the agents lifetime (even when the agent has migrated to another location). The integrity protection mechanism enables the detection of unauthorized modifications to the container. The container can be obtained with the ''getAgentContainer()'' method. It returns an object of type ''org.iids.aos.agent.AgentContainer'', which is an implementation of the ''java.util.Map'' interface of the agent container provided by the AOS kernel. This means that you can use all the regular **put** and **get** operations of the Map interface, but it also provides the security features (integrity protection) of the AOS agent container. It has one addition method: ''setReadOnly()''. Readonly entries cannot be modified or removed during the agents lifetime (even when the agent has migrated to another location). The integrity protection mechanism enables the detection of unauthorized modifications to the container.
development/agent/java.txt ยท Last modified: 2012/11/12 18:32 by clark
[unknown link type]Back to top