Hi Gérard,

Gérard BUNEL wrote:
The type of notification for backend state change is AttributeChangeNotification[1] which contains both the previous and new backend state value as defined in BackendState[2].

Hope it helps,
It helps, thanks.
But do you know if it's possible to query the list of backends attached to a VirtualDatabase ?

There is 2 ways to do so:
1. You retrieve the MBean corresponding to the VDB and calls
   getAllBackendNames()
2. You query the MBeanServerConnection using the ObjectName pattern
  "sequoia:type=VirtualDataBase.Backend,VirtualDataBase=<your vdb>,*"
   to retrieve all the MBeans corresponding to the backends.

Method (1) is simpler.

regards,
jeff


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to