Class 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 Detail

      • BambooComponentLocator

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

      • getComponentInternal

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