com.atlassian.confluence.setup
Class ConfluenceListableBeanFactory

java.lang.Object
  extended by org.springframework.beans.factory.support.AbstractBeanFactory
      extended by org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
          extended by org.springframework.beans.factory.support.DefaultListableBeanFactory
              extended by com.atlassian.confluence.setup.ConfluenceListableBeanFactory
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactory, org.springframework.beans.factory.config.AutowireCapableBeanFactory, org.springframework.beans.factory.config.ConfigurableBeanFactory, org.springframework.beans.factory.config.ConfigurableListableBeanFactory, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.beans.factory.ListableBeanFactory, org.springframework.beans.factory.support.BeanDefinitionRegistry

public class ConfluenceListableBeanFactory
extends org.springframework.beans.factory.support.DefaultListableBeanFactory

Our own BeanFactory to enable the unregistering of child beans, as well as autowiring and more efficient toString().


Field Summary
static org.springframework.beans.factory.config.BeanDefinition NULL_OBJECT
           
 
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanFactory
logger
 
Fields inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR
 
Constructor Summary
ConfluenceListableBeanFactory(org.springframework.beans.factory.BeanFactory internalParentBeanFactory)
           
 
Method Summary
 void autowireNonSingletonBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck)
           
 org.springframework.beans.factory.config.BeanDefinition getBeanDefinition(String string)
           
 String toString()
           
 void unregisterBeanDefinition(String beanAlias)
           
 
Methods inherited from class org.springframework.beans.factory.support.DefaultListableBeanFactory
containsBeanDefinition, doGetBeanNamesForType, findMatchingBeans, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanNamesForType, getBeansOfType, getBeansOfType, preInstantiateSingletons, registerBeanDefinition, setAllowBeanDefinitionOverriding
 
Methods inherited from class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties, autowireByName, autowireByType, autowireConstructor, createBean, createBean, dependencyCheck, getIgnoredDependencyTypes, ignoreDependencyType, instantiateUsingFactoryMethod, invokeCustomInitMethod, invokeInitMethods, populateBean, resolveValueIfNecessary, setInstantiationStrategy, unsatisfiedObjectProperties
 
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanFactory
addBeanPostProcessor, addSingleton, checkMergedBeanDefinition, containsBean, containsSingleton, createBeanWrapper, destroyBean, destroySingletons, getAliases, getBean, getBean, getBean, getBean, getBeanPostProcessors, getCustomEditors, getMergedBeanDefinition, getMergedBeanDefinition, getObjectForSharedInstance, getParentBeanFactory, getSingletonCount, getSingletonNames, getType, hasDestructionAwareBeanPostProcessors, initBeanWrapper, invokeCustomDestroyMethod, isFactoryBean, isFactoryDereference, isSingleton, registerAlias, registerCustomEditor, registerDependentBean, registerDisposableBean, registerDisposableBeanIfNecessary, registerSingleton, removeSingleton, setParentBeanFactory, transformedBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
ignoreDependencyType
 
Methods inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties
 
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableBeanFactory
addBeanPostProcessor, containsSingleton, destroySingletons, registerAlias, registerCustomEditor, registerSingleton, setParentBeanFactory
 
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory
getParentBeanFactory
 
Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionRegistry
getAliases, registerAlias
 

Field Detail

NULL_OBJECT

public static final org.springframework.beans.factory.config.BeanDefinition NULL_OBJECT
Constructor Detail

ConfluenceListableBeanFactory

public ConfluenceListableBeanFactory(org.springframework.beans.factory.BeanFactory internalParentBeanFactory)
Method Detail

autowireNonSingletonBeanProperties

public void autowireNonSingletonBeanProperties(Object existingBean,
                                               int autowireMode,
                                               boolean dependencyCheck)
                                        throws org.springframework.beans.BeansException
Throws:
org.springframework.beans.BeansException

toString

public String toString()
Overrides:
toString in class org.springframework.beans.factory.support.DefaultListableBeanFactory

unregisterBeanDefinition

public void unregisterBeanDefinition(String beanAlias)

getBeanDefinition

public org.springframework.beans.factory.config.BeanDefinition getBeanDefinition(String string)
                                                                          throws org.springframework.beans.BeansException
Specified by:
getBeanDefinition in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
Specified by:
getBeanDefinition in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
Overrides:
getBeanDefinition in class org.springframework.beans.factory.support.DefaultListableBeanFactory
Throws:
org.springframework.beans.BeansException


Confluence is developed by Atlassian.