Package com.atlassian.confluence.plugin
Class LegacySpringContainerAccessor
java.lang.Object
com.atlassian.confluence.plugin.LegacySpringContainerAccessor
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
createBean
(com.atlassian.plugin.Plugin plugin, Class<T> clazz) Deprecated.
-
Constructor Details
-
LegacySpringContainerAccessor
public LegacySpringContainerAccessor()Deprecated.
-
-
Method Details
-
createBean
Deprecated.
-