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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Dec 8 06:45:32 EST 2010


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

Stuart Douglas reassigned SOLDER-7:
-----------------------------------

    Assignee: Stuart Douglas


> Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLDER-7
>                 URL: https://jira.jboss.org/browse/SOLDER-7
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Generic Beans
>            Reporter: Pete Muir
>            Assignee: Stuart Douglas
>             Fix For: 1.0.0.Beta2
>
>
> 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