code: public void add(BundleVersion bv)
      {
      	super.add(bv);
          // Find the queues defined in this workflow bundle and add them to our global list.
          // This allows us to present all the queues to the user.
          try {
          	WorkflowManager workflowManager = bv.getRoot().getApplicationContext().getBean("workflowManager",WorkflowManager.class);
  //        	m_queueProcessManager.extractQueues(workflowManager.getQueues(),bundleName);        	
  //        	m_queueProcessManager.extractProcesses(workflowManager.getMainProcesses(),bundleName);
          	m_queueProcessManager.extract(bv.getName(),workflowManager.getQueues(), workflowManager.getMainProcesses());
  		} catch (BeansException e) {
  			// ignore bundles with missing bean, assume they do something else.
  			m_logger.debug(e.getMessage());
  		}
      }
docs: /* (non-Javadoc)
  @see nz.co.senanque.madura.bundle.BundleListener#add(java.lang.String, nz.co.senanque.madura.bundle.BundleRoot)