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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 29 05:17:11 EST 2010


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

Pete Muir moved WELDX-167 to SOLDER-7:
--------------------------------------

          Project: Seam Solder  (was: Weld Extensions)
              Key: SOLDER-7  (was: WELDX-167)
      Component/s: Generic Beans
                       (was: Generic Beans)
    Fix Version/s: 1.0.0.Beta2
                       (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://jira.jboss.org/browse/SOLDER-7
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Generic Beans
>            Reporter: Pete Muir
>             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