java.lang.Object | |
↳ | com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor |
Manages spring context access, including autowiring.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
'Autowires' a given object - injects all dependencies defined in the constructor.
| |||||||||||
Will ask the container to instantiate a bean of the given class and does inject all constructor defined dependencies.
| |||||||||||
Retrieves a spring bean from the spring bean factory.
| |||||||||||
Gets all the beans that implement a given interface
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
'Autowires' a given object - injects all dependencies defined in the constructor.
instance | the object instance to autowire |
---|---|
autowireStrategy | the autowire strategy |
Will ask the container to instantiate a bean of the given class and does inject all constructor defined dependencies. Currently we have only spring as a container that will autowire this bean.
clazz | the Class to instantiate. Cannot be null. |
---|
Retrieves a spring bean from the spring bean factory.
id | the id of the spring bean, cannot be null |
---|
Gets all the beans that implement a given interface
interfaceClass | The interface class |
---|