Class ExtensionManagerBus

java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.bus.extension.ExtensionManagerBus
All Implemented Interfaces:
Bus, InterceptorProvider
Direct Known Subclasses:
SpringBus

public class ExtensionManagerBus extends AbstractBasicInterceptorProvider implements Bus
This bus uses CXF's built in extension manager to load components (as opposed to using the Spring bus implementation). While this is faster to load it doesn't allow extensive configuration and customization like the Spring bus does.
  • Field Details

  • Constructor Details

  • Method Details

    • setState

      protected final void setState(Bus.BusState state)
    • setId

      public void setId(String i)
      Specified by:
      setId in interface Bus
    • getExtension

      public final <T> T getExtension(Class<T> extensionType)
      Specified by:
      getExtension in interface Bus
    • hasExtensionByName

      public boolean hasExtensionByName(String name)
      Specified by:
      hasExtensionByName in interface Bus
    • createConfiguredBeanLocator

      protected final ConfiguredBeanLocator createConfiguredBeanLocator()
    • setExtension

      public final <T> void setExtension(T extension, Class<T> extensionType)
      Specified by:
      setExtension in interface Bus
    • getId

      public String getId()
      Specified by:
      getId in interface Bus
    • initialize

      public void initialize()
    • doInitializeInternal

      protected void doInitializeInternal()
    • loadAdditionalFeatures

      protected void loadAdditionalFeatures()
    • initializeFeatures

      protected void initializeFeatures()
    • shutdown

      public void shutdown()
    • destroyBeans

      protected void destroyBeans()
    • shutdown

      public void shutdown(boolean wait)
      Specified by:
      shutdown in interface Bus
    • getState

      public Bus.BusState getState()
      Specified by:
      getState in interface Bus
    • getFeatures

      public Collection<Feature> getFeatures()
      Specified by:
      getFeatures in interface Bus
    • setFeatures

      public void setFeatures(Collection<? extends Feature> features)
      Specified by:
      setFeatures in interface Bus
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in interface Bus
    • setProperties

      public void setProperties(Map<String,Object> map)
      Specified by:
      setProperties in interface Bus
    • getProperty

      public Object getProperty(String s)
      Specified by:
      getProperty in interface Bus
    • setProperty

      public void setProperty(String s, Object o)
      Specified by:
      setProperty in interface Bus