[jboss-dev-forums] [Design of POJO Server] - Re: migrating TransactionManager and Invokers to POJO
adrian@jboss.org
do-not-reply at jboss.com
Wed May 21 09:29:37 EDT 2008
"jhalliday" wrote : Thanks Adrian. The POJO version of the JTA transaction manager now runs fine against AS trunk :-)
|
| BTW, is there a new (injection based?) replacement for things like ServerConfig.SERVER_BIND_ADDRESS or do I need to retain that compile time dependency?
The correct way to do this is to inject the value into your bean
then use the system property.
| <bean name="Whatever">
| <property name='bindAddress">${jboss.bind.address}</property>
| </bean>
|
The bindAddress property can be either a String or an InetAddress.
If you don't expose it for configuration like this, then nobody can override
it to use some other rule or even hardwire it.
But the default should be our system property.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152341#4152341
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152341
More information about the jboss-dev-forums
mailing list