Package com.atlassian.confluence.plugin
Class PluginsClassLoaderConfigurationListener
java.lang.Object
com.atlassian.confluence.plugin.PluginsClassLoaderConfigurationListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener
public final class PluginsClassLoaderConfigurationListener
extends Object
implements org.springframework.context.ApplicationListener
This application event listener will configure the provided delegation class loader to use the plugins classloader
once the PluginsClassLoaderAvailableEvent is fired.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.ApplicationEvent event) voidsetDelegationClassLoader(ConfluenceUberClassLoader delegationClassLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
PluginsClassLoaderConfigurationListener
public PluginsClassLoaderConfigurationListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener
-
setDelegationClassLoader
-