// get all consumers (managers)
List consumerManagers = resourceManager.getConsumerManagers();
//
// loop over consumer managers
for (Iterator it=consumerManagers.iterator(); it.hasNext();) {
ConsumerManager consumerManager = (ConsumerManager)it.next();
try {
//
// delegate consumer loading to manager
consumerManager.unload();
} catch (TuboConsumerException e) {
//
// if something go wrong then a exception is throw and execution ends
throw resourceManager.getExceptionManager().getException(1100,consumerManager.getId(),e);
}
}
synchronized (this) {
notify();