"alesj" wrote : "adrian(a)jboss.org" wrote : If we/you can get some
(semi) clear picture where and how we want this plumbing to happen, I can go and code some
initial ideas - so that we can see what fits us best. And I can test this with our OSGi
project (as previously mentioned requirement).
| |
|
| We discussed it a while ago (I think some of the major discussions were on
| the jboss-dev mailing list). I called it "policy" configuration at that
time.
|
| If search worked I could find it for you. ;-)
|
| The basic idea is that you can deploy contextual metadata to scopes,
| underneath it would be something like:
|
|
| | <bean name="JCAPolicy" ...>
| | <annotation>scope definition</annotation>
| | <property name="binding">
| | <map>
| | bindings into the metadata scope go here
| | </property>
| | </bean>
| |
|
| But I wanted some easier xml than this, similar to the use case xml for AOP.
|
|
| | <policy>
| | <scope/>
| | <annotations/>
| | <bindings/>
| | </policy>
| |
| | |
| | | This then populates the MetaDataRepository for that scope.
| | | Something that is only done currently at the instance level for annotations
| | | against the bean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009426#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...