Disposer methods for @Default producer methods declared on generic beans 
require explicit definition of @Default
----------------------------------------------------------------------------------------------------------------

                 Key: WELDX-167
                 URL: https://jira.jboss.org/browse/WELDX-167
             Project: Weld Extensions
          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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to