1 Reply Latest reply on Dec 27, 2011 5:14 AM by alesj

    using system properties in mbeans




      I'm not sure if my problem is related to JBoss kernel but...

      Could anybody please tell me if it is possible to reference jboss system properties in jboss-bean.xml?

      I have properties configured in properties-service.xml and I'd like to use them to create my mbeans, something like that:


      <bean name="SforceLoginFactory" class="com.XXX.SforceSingleLoginFactory" init-method="login" destroy-method="logout">

              <property name="username">get value from system properties ???</property>

              <property name="password">get value from system properties ???</property>



      Is this possible in general or not?


      Thanks in advance,