[EMAIL PROTECTED] wrote:
anonymous wrote : What does property resolver do? 
  | 
  | You should certainly be able to reference system properties in the xml, j
  | ust like you can do now for MBeans. Though I haven't tried it.
  | 

org.jboss.varia.property.SystemPropertiesService is very useful service for
setting System properties and then retrieving them in code.

What I  mean is the ability to configure bean in jboss-bean.xml
and istead of hard-coded values inject a reference to this value.

File : my.properties:
  | my.property=foo

jboss-bean.xml: (is smth like this possible?)

<bean name="myBean" code="com.Foo"/>
  |    <property name="bar>
  |         ${my.property}
  |    </property>
  | </bean>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911085#3911085

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911085


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to