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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T
getComponentInternal(Class<T> iface)
-
Methods inherited from class com.atlassian.sal.core.component.DefaultComponentLocator
getComponentInternal, getComponentsInternal
-
-
-
-
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 classcom.atlassian.sal.core.component.DefaultComponentLocator
-
-