A better way of doing this would be to configure it explicitly.
Something like:
| <bean name="HAJNDI">
| <property name="port">
| <value-factory bean="PortManager" method="getPort"
parameter="HAJNDI" default="1100"/>
| </property>
| ...
|
The value-factory can be reconfigured to do whatever you want,
e.g. use system properties, the binding manager, ldap, etc.
All the user has to do is replace the "PortManager" bean.
The only problem is that the JMX config doesn't
currently support this value-factory style injection.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167542#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...