com.atlassian.plugin.osgi.spring
Class MarkBundleClassesCacheableListener

java.lang.Object
  extended by com.atlassian.plugin.osgi.spring.MarkBundleClassesCacheableListener
All Implemented Interfaces:
EventListener, org.osgi.framework.BundleListener, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class MarkBundleClassesCacheableListener
extends Object
implements org.osgi.framework.BundleListener, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

This class ensures that all classes in OSGi bundles can be cached by CachedIntrospectionResults.

Since:
3.2.17

Constructor Summary
MarkBundleClassesCacheableListener(org.osgi.framework.BundleContext bundleContext, PluginEventManager pluginEventManager)
           
 
Method Summary
 void afterPropertiesSet()
           
 void bundleChanged(org.osgi.framework.BundleEvent event)
           
 void destroy()
           
 void onPluginEnabled(PluginFrameworkStartedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkBundleClassesCacheableListener

public MarkBundleClassesCacheableListener(org.osgi.framework.BundleContext bundleContext,
                                          PluginEventManager pluginEventManager)
Method Detail

afterPropertiesSet

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

destroy

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

bundleChanged

public void bundleChanged(org.osgi.framework.BundleEvent event)
Specified by:
bundleChanged in interface org.osgi.framework.BundleListener

onPluginEnabled

public void onPluginEnabled(PluginFrameworkStartedEvent event)


Copyright © 2015 Atlassian. All rights reserved.