Mikhail Voronin [http://community.jboss.org/people/minige] created the 
discussion

"using system properties in mbeans"

To view the discussion, visit: http://community.jboss.org/message/643279#643279

--------------------------------------------------------------
Hello,

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>
</bean>

Is this possible in general or not?

Thanks in advance,
Mikhail
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/643279#643279]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to