Class HazelCastOsgiListener

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

    public class HazelCastOsgiListener
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Registers the OsgiListener once the main spring context is up
    • Constructor Detail

      • HazelCastOsgiListener

        public HazelCastOsgiListener​(com.atlassian.event.api.EventListenerRegistrar registrar,
                                     com.hazelcast.core.HazelcastInstance hazelcastInstance,
                                     com.atlassian.hazelcast.serialization.OsgiClassLoaderRegistry osgiClassLoaderRegistry,
                                     ClusterManager clusterManager)
        Since:
        7.6
    • Method Detail

      • destroy

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

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