com.atlassian.confluence.plugin.spring
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiPersistentCacheFactory
public OsgiPersistentCacheFactory(PluginDirectoryProvider pluginDirectoryProvider)
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