com.atlassian.confluence.cluster.hazelcast
Class HazelCastOsgiListener

java.lang.Object
  extended by 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)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
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


Copyright © 2003–2015 Atlassian. All rights reserved.