[jboss-jira] [JBoss JIRA] Resolved: (JBMETA-242) Allow "Singleton" session-type in ejb-jar.xml through the metadata binding classes

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Jan 4 13:31:31 EST 2010


     [ https://jira.jboss.org/jira/browse/JBMETA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai resolved JBMETA-242.
---------------------------------

    Resolution: Done


Added initial support for singleton bean type:

1) Metadata parsing of ejb-jar.xml for "singleton" session-type
2) Metadata parsing of ejb-jar.xml for init-on-startup.


> 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

        



More information about the jboss-jira mailing list