This is done.
https://jira.jboss.org/jira/browse/JBAS-5822
Only other thing to point out is that using an mbean as the value factory is also
supported, but only if the type of any parameters is specifically listed:
| <attribute name="Foo">
| <value-factory bean="jboss:service=FooProvider"
method="getFoo" default="1100">
| <parameter class="java.lang.String">A</parameter>
| <parameter class="java.lang.Integer">1</parameter>
| </value-factory>
| </attribute>
|
This is because if the value factory bean's ControllerContext is a
ServiceControllerContext, metadata about the mbean operations exposed by the bean is not
available (only attributes are available.) Without that information there is no way to
"guess" the parameter types.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168063#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...