5 Duke Stars rewarded for this thread
This topic has
3
replies
on
1
page.
hey, how to load properties file in a dynamic Mbean?
i could get an enumeration of values and names, and need to set that in the setAttribute function, but in set attribute function i shouldn use the setter and getter method of the individual values of proprty file.
Ex: i shouldn use setName n getName inside the Mbean..
Any Way?
Thanks Athar
dfuchs
Posts:416
Registered: 1/5/06
Hi,
I haven't understood what you are trying to do.
Say you have a property file like this:
#begin property file
my.propertyone=one
my.propertytwo=two
#end property file
What do you want to expose in your MBean and how?
Best regards,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc
Athar,
See http://weblogs.java.net/blog/emcmanus/archive/2006/11/a_real_example.html
Thanks.. this was wat i was looking for :-)
So i do transfer the duke dollars as promised
This topic has
3
replies
on
1
page.
Back to Forum
Read the Developer Forums Code of Conduct
Email this Topic
Edit this Topic
Site Upgrade
Forums 7.1.8 was deployed Oct 26th. The release consists of minor fixes & a few enhancements.
Forums Statistics
Users Online : 59 Guests : 125
About Sun forums
Sun Forums is a large collection of user generated
discussions. It is here to help you ask questions, find answers, and
participate in discussions.
Check out our guide on Getting
started with Sun Forums for a full walkthrough of how to best
leverage the benefits of this community.