Package com.atlassian.confluence.plugin
Class LegacySpringContainerAccessor
- java.lang.Object
-
- com.atlassian.confluence.plugin.LegacySpringContainerAccessor
-
@Deprecated public class LegacySpringContainerAccessor extends Object
Deprecated.since 7.0.1. It uses deprecated spring wiring.When Actions and Macro beans are created, they need spring setters "autodetect" wiring to work. Previously we've used DefaultSpringContainerAccessor from Plugin Framework to do the job. Platform 5 changed the behaviour of this class and it is using Constructor wiring mode only. This will not work for Actions and Macros, so we've created this class to do similar job, but to use "autodetect" wiring.This is not an ideal solution, because at some point in time Spring will remove this wiring type and we will have to find another solution.
For additional details: CONFSRVDEV-11091
- Since:
- 7.0.1
-
-
Constructor Summary
Constructors Constructor Description LegacySpringContainerAccessor()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> T
createBean(com.atlassian.plugin.Plugin plugin, Class<T> clazz)
Deprecated.
-
-
-
Method Detail
-
createBean
public static <T> T createBean(com.atlassian.plugin.Plugin plugin, Class<T> clazz)
Deprecated.
-
-