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

Dan Allen (JIRA) jira-events at lists.jboss.org
Sat Dec 18 17:56:18 EST 2010


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

Dan Allen closed SOLDER-7.
--------------------------



> 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