Allow "Singleton" session-type in ejb-jar.xml through the metadata binding
classes
-----------------------------------------------------------------------------------
Key: JBMETA-242
URL:
https://jira.jboss.org/jira/browse/JBMETA-242
Project: JBoss Metadata
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: ejb
Affects Versions: jboss-metadata-ejb-2.0.0-alpha-4
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: jboss-metadata-ejb-2.0.0-alpha-5
Right now, it only allows Stateless and Stateful. Using Singleton as session-type in the
ejb-jar.xml leads to:
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Invalid value
Singleton for {http://java.sun.com/xml/ns/javaee}session-typeType valid are [Stateful,
Stateless]
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira