-
Task
-
Resolution: Done
-
Major
-
jboss-metadata-ejb-2.0.0-alpha-9
-
None
When metadata is created out of jboss.xml with 5.0 and 5.1 xsd, they respectively create JBoss50SessionBeanMetaData and JBoss51SessionBeanMetaData objects. Both these classes extend from JBossSessionBeanMetaData which effectively means that they won't be considered EJB3.1 session beans (even if the corresponding ejb-jar.xml marks them as 3.1 beans through its xsd).
To allow these 2 jboss xsds to be used against EJB3.1 beans, let them extend from JBossSessionBean31MetaData