Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
If you want to execute certain code when your app is enabled you should:
create a component which implements org.springframework.beans.factory.InitializingBean
doing so you will need to implement the afterPropertiesSet() method which is called after the component was initialized
if you want to execute code only when it was installed the first time and not after each Confluence reboot etc, you will need to store some indicator for it e.g. using Bandana
Best, Tobias
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.