[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: enums, generics and other animals
alesj
do-not-reply at jboss.com
Fri Mar 7 07:39:34 EST 2008
Where to keep all this enums?
Since they are now scattered all over the place:
ControllerMode --> org.jboss.dependency.spi // OK, this one is here to stay
FromContext --> org.jboss.beans.metadata.plugins
AutowireType --> org.jboss.beans.metadata.spi
InjectOption --> org.jboss.beans.metadata.api.annotations
The idea with annotations was to keep them in an 'api' package + have separate artifact for them, so user can use just that for his beans.
And since now both, beans metadata and annotations, use the same enums, we should find some appropriate place. :-)
Perhaps org.jboss.beans.metadata.api.enums?
But there is the AutowireType which is part of spi? :-(
Moving all but that one there?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134825#4134825
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134825
More information about the jboss-dev-forums
mailing list