[jboss-dev-forums] [Design of OSGi Integration] - Re: Current roadmap
david.lloyd@jboss.com
do-not-reply at jboss.com
Wed Jan 21 10:48:58 EST 2009
"alesj" wrote : "david.lloyd at jboss.com" wrote :
| | Well in any case, the metadata has to be the first step. From there, the parser and the converter (to jboss cl) could be developed simultaneously.
| |
| The metadata is already there:
| - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/trunk/osgi-int/src/main/java/org/jboss/osgi/spi/metadata/OSGiMetaData.java
| - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/trunk/osgi-int/src/main/java/org/jboss/osgi/plugins/metadata/AbstractOSGiMetaData.java
Hmm. This looks more like a thin wrapper around an attribute map. What's the benefit to wrapping attributes like this? Seems kind of hacky/ugly. It would be better to just have an opaque pojo with regular (stringly typed) bean properties (including setters) for the attributes and leave it up to the parser to parse the manifest file and its entry values. Metadata is just metadata - there really shouldn't be any logic in there in my opinion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203707#4203707
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203707
More information about the jboss-dev-forums
mailing list