[jboss-dev-forums] [Design of POJO Server] - Re: Making Creators declare supported annotation types
emuckenhuber
do-not-reply at jboss.com
Wed Jul 30 14:21:53 EDT 2008
"alesj" wrote :
| which I think is not enough, e.g. missing @Local for local business interfaces.
Well yes and no :)
Basically the JBoss50Creator exposes just the annotation which are really needed to check.
e.g. if there is no @Stateless annotation then we won't create meta data for a SessionBean anyway and therefore a class with just @Local can be ignored.
That's also why JBoss50Creator does not return anything for Method and Field annotations.
Furthermore the processors get the superclasses and interfaces of the class themself. So there is no need to check that either.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167711#4167711
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167711
More information about the jboss-dev-forums
mailing list