I created the jmx values in my module doing this (also setting up the
jboss_services.xml file):
private int packagesPerPage = 0;
|
| public int getPackagesPerPage()
| {
| return packagesPerPage;
| }
|
| public void setPackagesPerPage(int packagesPerPage)
| {
| this.packagesPerPage = packagesPerPage;
| }
|
then in a configuration page to change the values I would do something like this:
| public void displayConfiguration(Page page)
| {
| // Code to display configuration values and inputs to change them.
| }
|
| public void configure(Page page)
| {
| // Check to make sure new values are good
|
| // Then I would use this function to change the values
| setPackagesPerPage(newPackagesPerPage);
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849363#3849363
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849363
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development