One more thing: Standard MBean has three default attributes: - StateString - State - Name
My XMBean has only attributes i created. So if i want to provide these attributes for my XMBean what should i do? Is there any way to enable them, or i should create attributes myself and change their values personally? I mean, do i have to do things like this?: public class MyService extends ServiceMBeanSupport { | | private String StateString; | private int State; | | public void start() throws Exception { | //some work | ... | this.State = MBeanSupport.STARTED; | this.StateString = MBeanSupport.states[MBeanSupport.STARTED]; | } | | //other methods here | } Thanks in advance vitor_b View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022988#4022988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022988 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user