code: protected void activate(ComponentContext cc) {
          //Create default server side global bus
          ClassLoader orignalClassLoader = THREAD_CONTEXT_ACCESSOR.getContextClassLoader(Thread.currentThread());
          try {
              //Make sure the current ThreadContextClassLoader is not an App classloader
              THREAD_CONTEXT_ACCESSOR.setContextClassLoader(Thread.currentThread(), JaxWsServiceImpl.class.getClassLoader());
              Map<String, Object> properties = new HashMap<String, Object>();
              properties.put("org.apache.cxf.bus.id", "Default Bus");
              Bus defaultBus = LibertyApplicationBusFactory.getInstance().createBus(null, properties);
              LibertyApplicationBusFactory.setDefaultBus(defaultBus);
          } finally {
              THREAD_CONTEXT_ACCESSOR.setContextClassLoader(Thread.currentThread(), orignalClassLoader);
          }
  
          //Eager initialize the StaxUtils
          try {
              THREAD_CONTEXT_ACCESSOR.setContextClassLoader(Thread.currentThread(), StAXUtils.getStAXProviderClassLoader());
              Class.forName("org.apache.cxf.staxutils.StaxUtils");
          } catch (ClassNotFoundException e) {
              throw new IllegalStateException(e);
          } finally {
              THREAD_CONTEXT_ACCESSOR.setContextClassLoader(Thread.currentThread(), orignalClassLoader);
          }
      }
docs: /*
  Called by Declarative Services to activate service