com.atlassian.confluence.cluster
Class ClusterManagerFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
com.atlassian.confluence.cluster.ClusterManagerFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class ClusterManagerFactoryBean
- extends org.springframework.beans.factory.config.AbstractFactoryBean
A Spring FactoryBean
which exposes a cluster-related bean by scanning the
context for beans of a specified type. If none are found, then it creates a default bean. If one (and only one) bean
of the target type is found, it returns that, otherwise it throws an exception.
See ClusterManager
and its implementations
- Since:
- v5.5
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterManagerFactoryBean
public ClusterManagerFactoryBean(com.atlassian.config.ApplicationConfig applicationConfig)
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
- Specified by:
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
createInstance
protected ClusterManager createInstance()
throws Exception
- Specified by:
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean
- Throws:
Exception
Copyright © 2003–2015 Atlassian. All rights reserved.