Java Reference
In-Depth Information
Figure 11.3
Telephony system
managed using a
relation MBean
indicates the phone card in slot 1 should be disabled and then updates the rout-
ing table. The relation MBean looks up the corresponding phone card MBean
and calls its
disable()
method. The relation MBean next calls the appropriate
route-removal method on the
RoutingTable
MBean. Figure 11.4 displays the
JMX
diagram relating all the MBeans. In this diagram, the relation MBean is
named
CtlRelation
. So, your two device MBeans and the
RoutingTable
MBean
have a relationship provided by the controller application represented by the
CtlRelation
MBean.
The
CtlRelation
MBean will associate the
PhoneCard
,
FaxCard
, and
Routing-
Table
MBeans. You can see that the relation references 1 to 10
PhoneCard
s, 1
Fax-
Card
, and 1
RoutingTable
MBean.
Figure 11.4
Diagram showing the
phone system
relationship of your
MBeans