[webbeans-issues] [JBoss JIRA] Updated: (WBRI-381) Revisit usage of BeanDeployerEnvironment when creating new beans
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Tue Sep 1 15:27:43 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan updated WBRI-381:
----------------------------
Description:
I need to be able to create new beans dynamically using the AfterBeanDiscoveryEvent. I have a class to help doing this:
https://svn.jboss.org/repos/webbeans/extensions/trunk/bean-utils/src/main/java/org/jboss/webbeans/beanutils/spi/ExistingBeanDescriber.java
However, a reference to the BeanDeployerEnvironment is needed, and I need a horrible hack to be able to get hold of it - see getBeanDeployerEnvironment() in:
https://svn.jboss.org/repos/webbeans/extensions/trunk/bean-utils/src/test/java/org/jboss/test/webbeans/beanutils/AbstractBeanUtilsTest.java
was:
I need to be able to create new beans dynamically using the AfterBeanDiscoveryEvent. I have a class to help doing this:
/Users/kabir/sourcecontrol/webbeans/extensions/subversion/bean-utils/src/main/java/org/jboss/webbeans/beanutils/spi/ExistingBeanDescriber.java
but need a horrible hack to be able to do so:
/Users/kabir/sourcecontrol/webbeans/extensions/subversion/bean-utils/src/test/java/org/jboss/test/webbeans/beanutils/AbstractBeanUtilsTest.java
> Revisit usage of BeanDeployerEnvironment when creating new beans
> ----------------------------------------------------------------
>
> Key: WBRI-381
> URL: https://jira.jboss.org/jira/browse/WBRI-381
> Project: Web Beans
> Issue Type: Feature Request
> Reporter: Kabir Khan
>
> I need to be able to create new beans dynamically using the AfterBeanDiscoveryEvent. I have a class to help doing this:
> https://svn.jboss.org/repos/webbeans/extensions/trunk/bean-utils/src/main/java/org/jboss/webbeans/beanutils/spi/ExistingBeanDescriber.java
> However, a reference to the BeanDeployerEnvironment is needed, and I need a horrible hack to be able to get hold of it - see getBeanDeployerEnvironment() in:
> https://svn.jboss.org/repos/webbeans/extensions/trunk/bean-utils/src/test/java/org/jboss/test/webbeans/beanutils/AbstractBeanUtilsTest.java
--
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