Class OsgiPersistentCacheFactory
- java.lang.Object
-
- com.atlassian.confluence.plugin.spring.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 Summary
Constructors Constructor Description OsgiPersistentCacheFactory(PluginDirectoryProvider pluginDirectoryProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObject()
Class<com.atlassian.plugin.osgi.container.OsgiPersistentCache>
getObjectType()
boolean
isSingleton()
-
-
-
Constructor Detail
-
OsgiPersistentCacheFactory
public OsgiPersistentCacheFactory(PluginDirectoryProvider pluginDirectoryProvider)
-
-
Method Detail
-
getObject
public Object getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
- Throws:
Exception
-
getObjectType
public Class<com.atlassian.plugin.osgi.container.OsgiPersistentCache> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-