Class OsgiPersistentCacheFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean

    public class OsgiPersistentCacheFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean
    Factory to create the OSGi persistent cache, as it needs to be aware of the Confluence Home location before it is constructed.
    • Constructor Detail

      • OsgiPersistentCacheFactory

        public OsgiPersistentCacheFactory​(PluginDirectoryProvider pluginDirectoryProvider)
    • Method Detail

      • getObject

        public Object getObject()
                         throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
        Throws:
        Exception
      • getObjectType

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

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean