[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4140) ResteasyDispatches instantiates resources even if they are not instantiable at that time.

Christian Bauer (JIRA) jira-events at lists.jboss.org
Thu Apr 23 03:15:40 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12464007#action_12464007 ] 

Christian Bauer commented on JBSEAM-4140:
-----------------------------------------

OK, I now understand why you made that change. But since I'm working on the bootstrap code now anyway, I might add the flexible mapping if it turns out to be really an improvement. 

> ResteasyDispatches instantiates resources even if they are not instantiable at that time.
> -----------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4140
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4140
>             Project: Seam
>          Issue Type: Bug
>          Components: WS
>    Affects Versions: 2.1.2.CR1
>            Reporter: Jozef Hartinger
>            Assignee: Christian Bauer
>            Priority: Critical
>             Fix For: 2.1.2.CR2
>
>
> right now, for every descendant of AbstractResource we simply create an instance and take a look at the path attribute value - this breaks if someone is extending the component and injects another component which is not available when resources get registered, uses @Restrict etc...

-- 
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 seam-issues mailing list