I am trying to understand where all attributes displayed on JMX console for a given MBean are sourced (come from). I am running the JBoss default server and am looking at the jboss-service.xml file in the default server's conf directory. For example, in the the Thread pool service, the attributes explicity defined in an MBean are:
<!-- A Thread pool service -->
attribute name="Name">JBoss System Threads attribute>
attribute name="ThreadGroupName">System Threads attribute>
<!-- How long a thread will live without any tasks in MS -->
attribute name="KeepAliveTime">60000 attribute>
<!-- The max number of threads in the pool -->
attribute name="MaximumPoolSize">10 attribute>
<!-- The max number of tasks before the queue is full -->
attribute name="MaximumQueueSize">1000 attribute
attribute name="BlockingMode">run attribute>
The JMX console displays 10 attributes (listed below) while only 6 were defined above.
PoolNumber .
Instance
KeepAliveTime
QueueSize
BlockingMode
ThreadGroupName
Name
MaximumQueueSize
MinimumPoolSize
MaximumPoolSize
THe question is Where do the other 4 come from? WHere are they defined?
THank you in advance for the answer,
- andy