I'm happy to announce that a paper I wrote has been accepted at the The 2008 International Symposium on Collaborative Technologies and Systems (CTS 2008).
The paper titled Binding Agent Roles to Environments: the R4R approach describes an approach based on Aspect Oriented Programming that focuses on the role deployment. The idea is that, at the time of the role deployment to a specific host/platform, roles must be integrated in the environment rules and policies. This means, for example, that some role actions must be executed accordingly to the above rules.
Such rules are specified thru a set of annotations that express which actions must be performed before and/or after a role action. In this way, the host administrator can define a set of rules that will be transparently applied to the roles and to the agents that are going to execute them.
The integrative actions executed before and/or after a role action are called preconditions and postconditions respectively. To ease the adoption of pre and post conditions, R4R exploits the concept of resource, an entity tied to the environment/context where the role is exploited, that provides a set of actions used as integration points. Only the resource actions (that are a subset of the role one) can be extended with the pre and post conditions, while normal role actions cannot. This choice allows role developers to be sure that there actions that will never be re-adapted by an environmental rule, while others could be integrated and adapted with such rules. Please note that, thanks to R4R, it is possible to implement reactions to role actions, something similar to reactive tuple spaces.
I suggest everyone interested in this approach to read the paper in the CTS 2008 prooceedings.