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.
  • 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 interface org.springframework.web.context.ServletContextAware
    • getObject

      public com.atlassian.plugin.loaders.BundledPluginLoader getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
      Throws:
      Exception
    • getObjectType

      public Class<com.atlassian.plugin.loaders.BundledPluginLoader> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.BundledPluginLoader>