Class BundledPluginLoaderFactory
java.lang.Object
com.atlassian.crowd.plugin.factory.BundledPluginLoaderFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>,org.springframework.web.context.ServletContextAware
public class BundledPluginLoaderFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>, org.springframework.web.context.ServletContextAware
Responsible for loading bundled plugins that
are stored in "atlassian-bundled-plugins.zip"
on the root of the classpath, or, the jars
from the crowd-home/bundled-plugins directory.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionBundledPluginLoaderFactory(PluginDirectoryLocator pluginDirectoryLocator, List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, String bundledPluginFileName) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.plugin.loaders.BundledPluginLoaderClass<com.atlassian.plugin.loaders.BundledPluginLoader> booleanvoidsetServletContext(jakarta.servlet.ServletContext servletContext)
-
Constructor Details
-
BundledPluginLoaderFactory
public BundledPluginLoaderFactory(PluginDirectoryLocator pluginDirectoryLocator, List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, String bundledPluginFileName)
-
-
Method Details
-
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
-