Hi, I am taking a relook at processing policy definitions thro annotations in a Java Implementation. Right now there is some implementation for this which I'd like to take to some level of completion. To do that I've taken a look at the JavaAnnotationsAndAPIs specs and have understood the following :-
- Intents and PolicySets defined on a JavaInterface are to be added to the corresponding componentType's service. If there are policy annotations specified in the Interface's methods then they are to be added to the 'operation' of the service in question - Intents and PolicySets defined on a JavaImplementation are to be added to the Implementation itself as Implementation Policies. Those policy annotations on the methods of the implemenatation's methods are to be added to the implementation's 'operations' with the exception of a reference setter method - Policy annotations on a reference setter method will be added to the corresponding componentType's reference. - Policy annotations on fields that are references, will be added to the corresponding componentType's reference. I did not find detailed information in the specs that can help me map the policy annotations to various aspects of a componentType. Am I missing this somewhere? If not can somebody familiar with the specs please let me know if I am on track with my mappings explained above. Are there cases that I have missed out? Thanks. - Venkat
