Class BambooComponentLocator

java.lang.Object
com.atlassian.sal.api.component.ComponentLocator
com.atlassian.sal.core.component.DefaultComponentLocator
com.atlassian.sal.bamboo.component.BambooComponentLocator

@Component public class BambooComponentLocator extends com.atlassian.sal.core.component.DefaultComponentLocator
I couldn't get the plugin system understand that it needs to use non-default constructor in DefaultComponentLocator. Therefore I needed to provide this class where I can apply @Autowired to constructor.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BambooComponentLocator(com.atlassian.sal.spi.HostContextAccessor accessor, OsgiServiceProxyFactory osgiServiceProxyFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> T
     

    Methods inherited from class com.atlassian.sal.core.component.DefaultComponentLocator

    getComponentInternal, getComponentsInternal

    Methods inherited from class com.atlassian.sal.api.component.ComponentLocator

    convertClassToName, getComponent, getComponent, getComponents, getComponentSafely, isInitialized, setComponentLocator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BambooComponentLocator

      @Autowired public BambooComponentLocator(com.atlassian.sal.spi.HostContextAccessor accessor, OsgiServiceProxyFactory osgiServiceProxyFactory)
  • Method Details

    • getComponentInternal

      protected <T> T getComponentInternal(Class<T> iface)
      Overrides:
      getComponentInternal in class com.atlassian.sal.core.component.DefaultComponentLocator