[weld-issues] [JBoss JIRA] Created: (WELDX-133) Odd issues with generic parameter types and generic beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Sep 6 16:48:52 EDT 2010


Odd issues with generic parameter types and generic beans
---------------------------------------------------------

                 Key: WELDX-133
                 URL: https://jira.jboss.org/browse/WELDX-133
             Project: Weld Extensions
          Issue Type: Bug
          Components: Generic Beans
            Reporter: Pete Muir
             Fix For: 1.0.0.Alpha3


For example:

   
   @Produces
   @Infinispan
   @DefaultCache
   private Cache<String, String> cache;

and on the generic bean
   
   @Produces
   public AdvancedCache<K, V> getAdvancedCache()
   {
      return cacheContainer.<K, V>getCache(infinispan.value()).getAdvancedCache();
   }

Should allow

@Inject Cache<String, String> cache;

but doesn't

-- 
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

        


More information about the weld-issues mailing list