public class ClusterManagerFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean
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 implementationsConstructor and Description |
---|
ClusterManagerFactoryBean(com.atlassian.config.ApplicationConfig applicationConfig) |
Modifier and Type | Method and Description |
---|---|
protected ClusterManager |
createInstance() |
Class |
getObjectType() |
public ClusterManagerFactoryBean(com.atlassian.config.ApplicationConfig applicationConfig)
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
protected ClusterManager createInstance() throws Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean
Exception
Copyright © 2003–2016 Atlassian. All rights reserved.