consumerAdvisor = advisors[4]; genericAdvisor = advisors[5];
consumerAdvisor = advisors[4]; browserAdvisor = advisors[5]; genericAdvisor = advisors[6];
   private void initializeAdvisors() throws Exception   {      ClassAdvisor[] advisors = new ClassAdvisor[6];      for(int i = 0; i < domainNames.length; i++)      {         DomainDefinition domainDefinition = AspectManager.instance().getContainer(domainNames[i]);         if (domainDefinition == null)         {            throw new RuntimeException("Domain " + domainNames[i] + " not found");         }         advisors[i] = new JMSAdvisor(domainNames[i], domainDefinition.getManager(), this);         Class c = Class.forName("org.jboss.jms.server.endpoint." + domainNames[i]);         advisors[i].attachClass(c);         // register the advisor with the Dispatcher         Dispatcher.singleton.registerTarget(advisors[i].getName(), advisors[i]);      }      connFactoryAdvisor = advisors[0];      connAdvisor = advisors[1];      sessionAdvisor = advisors[2];      producerAdvisor = advisors[3];      consumerAdvisor = advisors[4];      genericAdvisor = advisors[5];   }