How to define a spring bean as jira spring component module in atlassian-plugins.xml file
For example, how can i convert this spring bean in spring-beans.xml to jira component
<bean id="testSingleton" class="org.test.Test" scope="singleton"/>
Hello,
Try to use the scope annotation:
@Scope("singleton")
If it does not work, then you can read my artilcle here:
No, you can not set a scope in atlassian-plugin.xml. You should set it via annotation or in the main/resources/META-INF/spring/plugin-context.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.