[
http://jira.jboss.com/jira/browse/JBMICROCONT-192?page=all ]
Ales Justin closed JBMICROCONT-192.
-----------------------------------
Resolution: Done
Added new boolean attribute to bean and beanfactory: name-aware.
By setting this to true and NOT setting the attribute name-method will result in default
setName(String) being used as name method.
<bean name="set_name_bean"
class="org.jboss.test.kernel.deployment.support.NameAwareBean"
name-aware="true" />
But setting just the name-method is enough, you don't need to explicitly mark the
bean[factory] as name-aware.
The annotation support (@BeanName) will be implemented as part of generic annotation
support for MC beans.
Inject bean name into target bean
---------------------------------
Key: JBMICROCONT-192
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-192
Project: JBoss MicroContainer
Issue Type: Feature Request
Components: Kernel
Affects Versions: JBossMC_2_0_0_CR1
Reporter: Ales Justin
Assigned To: Ales Justin
Priority: Minor
Provide an implementation of bean name aware feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira