[webbeans-issues] [JBoss JIRA] Created: (WBRI-256) can't inject a instance which has ParameterizedType super class.

Takeshi Kondo (JIRA) jira-events at lists.jboss.org
Wed May 6 02:17:46 EDT 2009


can't inject a instance which has ParameterizedType super class.
----------------------------------------------------------------

                 Key: WBRI-256
                 URL: https://jira.jboss.org/jira/browse/WBRI-256
             Project: Web Beans
          Issue Type: Bug
          Components: Simple Beans
    Affects Versions: 1.0.0.PREVIEW1
            Reporter: Takeshi Kondo
            Assignee: Nicklas Karlsson


for instnce 
--
public class LookupSingiletonMap {
		@Current
		SingletonMap map;
}

@ApplicationScoped
public class SingletonMap extends ConcurrentHashMap<String, Object> {
}
---
Manager can't inject SingletonMap to LookupSingiletonMap.

because if injected instance has ParameterizedType super class,  org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem#isAssignableFrom(Class<?> type, Type[] actualTypeArguments) method always returns false.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list