* (non-Javadoc)
* @see javax.management.MBeanRegistration#preDeregister()
*/
public void preDeregister() throws Exception
{
MessageBrokerControl parent = (MessageBrokerControl)getParentControl();
parent.removeService(getObjectName());
// Unregister destinations of the service
for (Iterator iter = service.getDestinations().values().iterator(); iter.hasNext();) {
Destination child = (Destination) iter.next();
if (child.getControl() != null)