code: public static Bus getClassLoaderDefaultBus(final ClassLoader classloader) {
        Bus classLoaderBus;
        synchronized (classLoaderBusses) {
           classLoaderBus = classLoaderBusses.get(classloader);
           if (classLoaderBus == null) {
              classLoaderBus = new JBossWSBusFactory().createBus();
              //register a listener for cleaning up the bus from the classloader association in the JBossWSBusFactory
              BusLifeCycleListener listener = new ClassLoaderDefaultBusLifeCycleListener(classLoaderBus);
              classLoaderBus.getExtension(BusLifeCycleManager.class).registerLifeCycleListener(listener);
              classLoaderBusses.put(classloader, classLoaderBus);
           }
        }
        return classLoaderBus;
     }
docs: Gets the default bus for the given classloader
  
  @param classloader
  @return