You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Adi Schwalb (JIRA)" <ji...@apache.org> on 2016/07/11 20:31:10 UTC

[jira] [Created] (DELTASPIKE-1182) BeanProvider.getContextualReference

Adi Schwalb created DELTASPIKE-1182:
---------------------------------------

             Summary: BeanProvider.getContextualReference
                 Key: DELTASPIKE-1182
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1182
             Project: DeltaSpike
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.7.0
         Environment: JDK 8, Windows 7 
            Reporter: Adi Schwalb
            Priority: Blocker


Hello

I must load classes dynamically.
Give it to a BeanProvider.getContextualReference ... fails.
Other/Normal defined classes works good.

E.G. 
Class c	= classLoader.loadClass(classPath);  
BeanProvider.getContextualReference( c );
always fails with:
java.lang.IllegalStateException: Could not find beans for Type=class .....
 
Is this a bug, or have i overseen something?
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)