Package com.atlassian.plugin.osgi.spring
Class MarkBundleClassesCacheableListener
java.lang.Object
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
ConstructorsConstructorDescriptionMarkBundleClassesCacheableListener(org.osgi.framework.BundleContext bundleContext, com.atlassian.plugin.event.PluginEventManager pluginEventManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbundleChanged(org.osgi.framework.BundleEvent event) voiddestroy()voidonPluginEnabled(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
-
Constructor Details
-
MarkBundleClassesCacheableListener
public MarkBundleClassesCacheableListener(org.osgi.framework.BundleContext bundleContext, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
bundleChanged
public void bundleChanged(@Nonnull org.osgi.framework.BundleEvent event) - Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-
onPluginEnabled
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
-