com.atlassian.confluence.cluster.hazelcast
Class HazelCastOsgiListener
java.lang.Object
com.atlassian.confluence.cluster.hazelcast.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 Summary |
HazelCastOsgiListener(com.atlassian.event.api.EventListenerRegistrar registrar,
com.atlassian.util.concurrent.Supplier<com.hazelcast.core.HazelcastInstance> instanceSupplier,
com.atlassian.hazelcast.serialization.OsgiClassLoaderRegistry osgiClassLoaderRegistry)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HazelCastOsgiListener
public HazelCastOsgiListener(com.atlassian.event.api.EventListenerRegistrar registrar,
com.atlassian.util.concurrent.Supplier<com.hazelcast.core.HazelcastInstance> instanceSupplier,
com.atlassian.hazelcast.serialization.OsgiClassLoaderRegistry osgiClassLoaderRegistry)
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
Copyright © 2003–2015 Atlassian. All rights reserved.