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.BundledPluginLoader
Class<com.atlassian.plugin.loaders.BundledPluginLoader>
boolean
void
setServletContext
(javax.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(javax.servlet.ServletContext servletContext) - Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
-