public class ConfluenceListableBeanFactory extends org.springframework.beans.factory.support.DefaultListableBeanFactory implements Serializable
Modifier and Type | Field and Description |
---|---|
static org.springframework.beans.factory.config.BeanDefinition |
NULL_OBJECT |
logger
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR, AUTOWIRE_NO
Constructor and Description |
---|
ConfluenceListableBeanFactory() |
ConfluenceListableBeanFactory(org.springframework.beans.factory.BeanFactory parentBeanFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSingleton(String beanName,
Object singletonObject) |
protected void |
addSingletonFactory(String beanName,
org.springframework.beans.factory.ObjectFactory singletonFactory) |
void |
autowireNonSingletonBeanProperties(Object existingBean,
int autowireMode,
boolean dependencyCheck)
Deprecated.
since 3.5 Use
AbstractAutowireCapableBeanFactory.autowireBeanProperties(Object, int, boolean) instead. |
boolean |
containsBeanDefinition(String beanName)
Since you can't actually unregisterBeans we use a NULL_OBJECT to represent deleted ones.
|
void |
flushBeanNamesForTypeCache()
Clears the bean name for type cache.
|
String[] |
getBeanNamesForType(Class type,
boolean includeNonSingletons,
boolean allowEagerInit) |
void |
registerBeanDefinition(String beanName,
org.springframework.beans.factory.config.BeanDefinition beanDefinition) |
void |
registerSingleton(String beanName,
Object singletonObject) |
void |
removeAlias(String alias) |
void |
removeBeanDefinition(String beanName) |
protected void |
removeSingleton(String beanName) |
protected boolean |
removeSingletonIfCreatedForTypeCheckOnly(String beanName) |
protected void |
resetBeanDefinition(String beanName) |
String |
toString() |
void |
unregisterBeanDefinition(String beanAlias) |
allowAliasOverriding, clearMetadataCache, copyConfigurationFrom, destroySingleton, destroySingletons, determineAutowireCandidate, determineHighestPriorityCandidate, determinePrimaryCandidate, doResolveDependency, findAnnotationOnBean, findAutowireCandidates, freezeConfiguration, getAutowireCandidateResolver, getBean, getBean, getBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesIterator, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDependencyComparator, getPriority, getSerializationId, isAllowBeanDefinitionOverriding, isAllowEagerClassLoading, isAutowireCandidate, isAutowireCandidate, isAutowireCandidate, isBeanEligibleForMetadataCaching, isConfigurationFrozen, isPrimary, matchesBeanName, preInstantiateSingletons, registerResolvableDependency, resolveDependency, resolveNamedBean, setAllowBeanDefinitionOverriding, setAllowEagerClassLoading, setAutowireCandidateResolver, setDependencyComparator, setSerializationId, writeReplace
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPostProcessorsBeforeInstantiation, applyBeanPropertyValues, applyMergedBeanDefinitionPostProcessors, applyPropertyValues, autowire, autowireBean, autowireBeanProperties, autowireByName, autowireByType, autowireConstructor, checkDependencies, configureBean, createBean, createBean, createBean, createBeanInstance, destroyBean, determineConstructorsFromBeanPostProcessors, determineTargetType, doCreateBean, filterPropertyDescriptorsForDependencyCheck, filterPropertyDescriptorsForDependencyCheck, getEarlyBeanReference, getInstantiationStrategy, getParameterNameDiscoverer, getTypeForFactoryBean, getTypeForFactoryMethod, ignoreDependencyInterface, ignoreDependencyType, initializeBean, initializeBean, instantiateBean, instantiateUsingFactoryMethod, invokeCustomInitMethod, invokeInitMethods, isExcludedFromDependencyCheck, populateBean, postProcessObjectFromFactoryBean, predictBeanType, resolveBeforeInstantiation, resolveDependency, setAllowCircularReferences, setAllowRawInjectionDespiteWrapping, setInstantiationStrategy, setParameterNameDiscoverer, unsatisfiedNonSimpleProperties
addBeanPostProcessor, addEmbeddedValueResolver, addPropertyEditorRegistrar, afterPrototypeCreation, beforePrototypeCreation, checkMergedBeanDefinition, cleanupAfterBeanCreationFailure, clearMergedBeanDefinition, containsBean, containsLocalBean, copyRegisteredEditorsTo, destroyBean, destroyBean, destroyScopedBean, doGetBean, evaluateBeanDefinitionString, getAccessControlContext, getAliases, getBean, getBean, getBean, getBean, getBeanClassLoader, getBeanExpressionResolver, getBeanPostProcessorCount, getBeanPostProcessors, getConversionService, getCustomEditors, getCustomTypeConverter, getMergedBeanDefinition, getMergedBeanDefinition, getMergedBeanDefinition, getMergedLocalBeanDefinition, getObjectForBeanInstance, getParentBeanFactory, getPropertyEditorRegistrars, getRegisteredScope, getRegisteredScopeNames, getTempClassLoader, getType, getTypeConverter, hasBeanCreationStarted, hasDestructionAwareBeanPostProcessors, hasEmbeddedValueResolver, hasInstantiationAwareBeanPostProcessors, initBeanWrapper, isActuallyInCreation, isBeanNameInUse, isCacheBeanMetadata, isFactoryBean, isFactoryBean, isPrototype, isPrototypeCurrentlyInCreation, isSingleton, isTypeMatch, isTypeMatch, markBeanAsCreated, originalBeanName, registerCustomEditor, registerCustomEditors, registerDisposableBeanIfNecessary, registerScope, requiresDestruction, resolveBeanClass, resolveEmbeddedValue, setBeanClassLoader, setBeanExpressionResolver, setCacheBeanMetadata, setConversionService, setParentBeanFactory, setSecurityContextProvider, setTempClassLoader, setTypeConverter, transformedBeanName
getCachedObjectForFactoryBean, getFactoryBean, getObjectFromFactoryBean, getTypeForFactoryBean
afterSingletonCreation, beforeSingletonCreation, containsSingleton, destroyBean, getDependenciesForBean, getDependentBeans, getSingleton, getSingleton, getSingleton, getSingletonCount, getSingletonMutex, getSingletonNames, hasDependentBean, isCurrentlyInCreation, isDependent, isSingletonCurrentlyInCreation, onSuppressedException, registerContainedBean, registerDependentBean, registerDisposableBean, setCurrentlyInCreation
canonicalName, checkForAliasCircle, hasAlias, isAlias, registerAlias, resolveAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
ignoreDependencyInterface, ignoreDependencyType
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBean, autowireBeanProperties, configureBean, createBean, createBean, destroyBean, initializeBean, resolveDependency
addBeanPostProcessor, addEmbeddedValueResolver, addPropertyEditorRegistrar, copyRegisteredEditorsTo, destroyBean, destroyScopedBean, getAccessControlContext, getBeanClassLoader, getBeanExpressionResolver, getBeanPostProcessorCount, getConversionService, getDependenciesForBean, getDependentBeans, getMergedBeanDefinition, getRegisteredScope, getRegisteredScopeNames, getTempClassLoader, getTypeConverter, hasEmbeddedValueResolver, isCacheBeanMetadata, isCurrentlyInCreation, isFactoryBean, registerAlias, registerCustomEditor, registerDependentBean, registerScope, resolveAliases, resolveEmbeddedValue, setBeanClassLoader, setBeanExpressionResolver, setCacheBeanMetadata, setConversionService, setCurrentlyInCreation, setParentBeanFactory, setTempClassLoader, setTypeConverter
containsLocalBean, getParentBeanFactory
containsBean, getAliases, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch
containsSingleton, getSingleton, getSingletonCount, getSingletonMutex, getSingletonNames
public static final org.springframework.beans.factory.config.BeanDefinition NULL_OBJECT
public ConfluenceListableBeanFactory()
public ConfluenceListableBeanFactory(org.springframework.beans.factory.BeanFactory parentBeanFactory)
public String toString()
toString
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
@Deprecated public void autowireNonSingletonBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck) throws org.springframework.beans.BeansException
AbstractAutowireCapableBeanFactory.autowireBeanProperties(Object, int, boolean)
instead.org.springframework.beans.BeansException
public void unregisterBeanDefinition(String beanAlias)
public void registerBeanDefinition(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition) throws org.springframework.beans.factory.BeanDefinitionStoreException
registerBeanDefinition
in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
registerBeanDefinition
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
org.springframework.beans.factory.BeanDefinitionStoreException
public void removeBeanDefinition(String beanName) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
removeBeanDefinition
in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
removeBeanDefinition
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
org.springframework.beans.factory.NoSuchBeanDefinitionException
protected void resetBeanDefinition(String beanName)
resetBeanDefinition
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
protected boolean removeSingletonIfCreatedForTypeCheckOnly(String beanName)
removeSingletonIfCreatedForTypeCheckOnly
in class org.springframework.beans.factory.support.AbstractBeanFactory
public void registerSingleton(String beanName, Object singletonObject) throws IllegalStateException
registerSingleton
in interface org.springframework.beans.factory.config.SingletonBeanRegistry
registerSingleton
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
IllegalStateException
public void removeAlias(String alias)
removeAlias
in interface org.springframework.core.AliasRegistry
removeAlias
in class org.springframework.core.SimpleAliasRegistry
public boolean containsBeanDefinition(String beanName)
containsBeanDefinition
in interface org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition
in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
containsBeanDefinition
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
public void flushBeanNamesForTypeCache()
protected void removeSingleton(String beanName)
removeSingleton
in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
protected void addSingletonFactory(String beanName, org.springframework.beans.factory.ObjectFactory singletonFactory)
addSingletonFactory
in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
protected void addSingleton(String beanName, Object singletonObject)
addSingleton
in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
public String[] getBeanNamesForType(Class type, boolean includeNonSingletons, boolean allowEagerInit)
getBeanNamesForType
in interface org.springframework.beans.factory.ListableBeanFactory
getBeanNamesForType
in class org.springframework.beans.factory.support.DefaultListableBeanFactory
Copyright © 2003–2017 Atlassian. All rights reserved.