[webbeans-issues] [JBoss JIRA] Closed: (WBRI-381) Revisit usage of BeanDeployerEnvironment when creating new beans
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Sep 1 17:53:23 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WBRI-381.
--------------------------
Resolution: Duplicate Issue
Assignee: Pete Muir
Really, this is fixed by using a builder to create a bean
> 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
> Assignee: Pete Muir
>
> 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