com.atlassian.confluence.plugin.spring
Class OsgiPersistentCacheFactory

java.lang.Object
  extended by 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
OsgiPersistentCacheFactory(PluginDirectoryProvider pluginDirectoryProvider)
           
 
Method Summary
 Object getObject()
           
 Class<com.atlassian.plugin.osgi.container.OsgiPersistentCache> getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.