Class ApplicationConfigurationLicenseStoreAide

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    @Internal
    @ParametersAreNonnullByDefault
    public class ApplicationConfigurationLicenseStoreAide
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    This is an aide for ApplicationConfigurationLicenseStore, telling it when the EventPublisher is available, or not. This aide is required at the ApplicationConfigurationLicenseStore is initialised prior to the main Spring context, and hence the EventPublisher is not available via the normal lifecycle.
    Since:
    5.6
    • Constructor Detail

      • ApplicationConfigurationLicenseStoreAide

        public ApplicationConfigurationLicenseStoreAide​(ApplicationConfigurationLicenseStore store,
                                                        com.atlassian.event.api.EventPublisher publisher)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception