[seam-issues] [JBoss JIRA] Updated: (SOLDER-7) Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri Dec 17 20:21:18 EST 2010


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

Shane Bryzak updated SOLDER-7:
------------------------------

    Fix Version/s: 3.0.0.Beta1
                       (was: 1.0.0.Beta2)


> Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLDER-7
>                 URL: https://issues.jboss.org/browse/SOLDER-7
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Generic Beans
>            Reporter: Pete Muir
>            Assignee: Stuart Douglas
>             Fix For: 3.0.0.Beta1
>
>
> For example
>    @Produces
>    public ComputeServiceContext getContext()
>    {
>       return this.factory.createContext(config.provider(), properties);
>    }
>    
>    public void cleanup(@Disposes @Generic ComputeServiceContext context)
>    {
>       context.close();
>    }
> will cause the disposer to not be resolved for the producer method

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list