[jboss-jira] [JBoss JIRA] (AS7-2976) Not specifying a session-type in a described session bean must throw a DeploymentException

Carlo de Wolf (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 12 08:37:09 EST 2011


    [ https://issues.jboss.org/browse/AS7-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649987#comment-12649987 ] 

Carlo de Wolf commented on AS7-2976:
------------------------------------

Also if an annotated bean class is used, the session type is not deduced from it.
                
> Not specifying a session-type in a described session bean must throw a DeploymentException
> ------------------------------------------------------------------------------------------
>
>                 Key: AS7-2976
>                 URL: https://issues.jboss.org/browse/AS7-2976
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Carlo de Wolf
>            Assignee: Stuart Douglas
>            Priority: Critical
>
> This is due to buggy code in SessionBeanComponentDescriptionFactory:
> {code}
>         if(sessionType == null) {
>         }
>         if(sessionType == null && sessionBean instanceof GenericBeanMetaData) {
>             //TODO: this is a hack
>             return;
>         }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list