|
|||||||||
| Home >> All >> org >> springframework >> beans >> [ factory overview ] | PREV NEXT | ||||||||
A
- actualType - Variable in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- The offending type
- afterPropertiesSet() - Method in interface org.springframework.beans.factory.InitializingBean
- Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
B
- BeanCreationException - exception org.springframework.beans.factory.BeanCreationException.
- Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.
- BeanCreationException(String) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCreationException(String, Throwable) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCreationException(String, String) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCreationException(String, String, Throwable) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCreationException(String, String, String) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCreationException(String, String, String, Throwable) - Constructor for class org.springframework.beans.factory.BeanCreationException
- Create a new BeanCreationException.
- BeanCurrentlyInCreationException - exception org.springframework.beans.factory.BeanCurrentlyInCreationException.
- Exception thrown in case of a reference to a bean that's currently in creation.
- BeanCurrentlyInCreationException(String) - Constructor for class org.springframework.beans.factory.BeanCurrentlyInCreationException
- Create a new BeanCurrentlyInCreationException, with a default error message that indicates a circular reference.
- BeanCurrentlyInCreationException(String, String) - Constructor for class org.springframework.beans.factory.BeanCurrentlyInCreationException
- Create a new BeanCurrentlyInCreationException.
- BeanDefinitionStoreException - exception org.springframework.beans.factory.BeanDefinitionStoreException.
- Exception thrown when a BeanFactory encounters an internal error, and its definitions are invalid: for example, if an XML document containing bean definitions isn't well-formed.
- BeanDefinitionStoreException(String) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, Throwable) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(Resource, String, String) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(Resource, String, String, Throwable) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String, String) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String, String, Throwable) - Constructor for class org.springframework.beans.factory.BeanDefinitionStoreException
- Create a new BeanDefinitionStoreException.
- BeanFactory - interface org.springframework.beans.factory.BeanFactory.
- The root interface for accessing a Spring IoC container.
- BeanFactoryAware - interface org.springframework.beans.factory.BeanFactoryAware.
- Interface to be implemented by beans that wish to be aware of their owning BeanFactory.
- BeanFactoryUtils - class org.springframework.beans.factory.BeanFactoryUtils.
- Convenience methods operating on bean factories, in particular on the ListableBeanFactory interface.
- BeanFactoryUtils() - Constructor for class org.springframework.beans.factory.BeanFactoryUtils
- BeanInitializationException - exception org.springframework.beans.factory.BeanInitializationException.
- Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails.
- BeanInitializationException(String) - Constructor for class org.springframework.beans.factory.BeanInitializationException
- BeanInitializationException(String, Throwable) - Constructor for class org.springframework.beans.factory.BeanInitializationException
- BeanIsAbstractException - exception org.springframework.beans.factory.BeanIsAbstractException.
- Exception thrown when a bean instance has been requested for a bean which has been defined as abstract
- BeanIsAbstractException(String) - Constructor for class org.springframework.beans.factory.BeanIsAbstractException
- Create a new BeanIsAbstractException.
- BeanIsNotAFactoryException - exception org.springframework.beans.factory.BeanIsNotAFactoryException.
- Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name.
- BeanIsNotAFactoryException(String, Class) - Constructor for class org.springframework.beans.factory.BeanIsNotAFactoryException
- Create a new BeanIsNotAFactoryException.
- BeanNameAware - interface org.springframework.beans.factory.BeanNameAware.
- Interface to be implemented by beans that want to be aware of their bean name in a bean factory.
- BeanNotOfRequiredTypeException - exception org.springframework.beans.factory.BeanNotOfRequiredTypeException.
- Thrown when a bean doesn't match the required type.
- BeanNotOfRequiredTypeException(String, Class, Class) - Constructor for class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- Create a new BeanNotOfRequiredTypeException.
- beanName - Variable in class org.springframework.beans.factory.BeanCreationException
- beanName - Variable in class org.springframework.beans.factory.BeanDefinitionStoreException
- beanName - Variable in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- The name of the instance that was of the wrong type
- beanName - Variable in class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Name of the missing bean
- beanNamesForTypeIncludingAncestors(ListableBeanFactory, Class) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesForTypeIncludingAncestors(ListableBeanFactory, Class, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesIncludingAncestors(ListableBeanFactory) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return all bean names in the factory, including ancestor factories.
- beanNamesIncludingAncestors(ListableBeanFactory, Class) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Deprecated. in favor of beanNamesForTypeIncludingAncestors. This method will be removed as of Spring 1.3.
- beanOfType(ListableBeanFactory, Class) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return a single bean of the given type or subtypes, not looking in ancestor factories.
- beanOfType(ListableBeanFactory, Class, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return a single bean of the given type or subtypes, not looking in ancestor factories.
- beanOfTypeIncludingAncestors(ListableBeanFactory, Class) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return a single bean of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- beanOfTypeIncludingAncestors(ListableBeanFactory, Class, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return a single bean of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- beanType - Variable in class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Required bean type
- beansOfTypeIncludingAncestors(ListableBeanFactory, Class) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- beansOfTypeIncludingAncestors(ListableBeanFactory, Class, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
C
- containsBean(String) - Method in interface org.springframework.beans.factory.BeanFactory
- Does this bean factory contain a bean definition with the given name?
- containsBeanDefinition(String) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Check if this bean factory contains a bean definition with the given name.
- countBeansIncludingAncestors(ListableBeanFactory) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Count all bean definitions in any hierarchy in which this factory participates.
D
- DisposableBean - interface org.springframework.beans.factory.DisposableBean.
- Interface to be implemented by beans that want to release resources on destruction.
- destroy() - Method in interface org.springframework.beans.factory.DisposableBean
- Invoked by a BeanFactory on destruction of a singleton.
F
- FACTORY_BEAN_PREFIX - Static variable in interface org.springframework.beans.factory.BeanFactory
- Used to dereference a FactoryBean and distinguish it from beans created by the FactoryBean.
- FactoryBean - interface org.springframework.beans.factory.FactoryBean.
- Interface to be implemented by objects used within a BeanFactory that are themselves factories.
- FactoryBeanNotInitializedException - exception org.springframework.beans.factory.FactoryBeanNotInitializedException.
- Exception thrown if a FactoryBean is not fully initialized, for example because it is involved in a circular reference.
- FactoryBeanNotInitializedException(String, String) - Constructor for class org.springframework.beans.factory.FactoryBeanNotInitializedException
- Create a new FactoryBeanNotInitializedException.
G
- getActualType() - Method in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- Return the actual type of the instance found.
- getAliases(String) - Method in interface org.springframework.beans.factory.BeanFactory
- Return the aliases for the given bean name, if defined.
- getBean(String) - Method in interface org.springframework.beans.factory.BeanFactory
- Return an instance, which may be shared or independent, of the given bean name.
- getBean(String, Class) - Method in interface org.springframework.beans.factory.BeanFactory
- Return an instance (possibly shared or independent) of the given bean name.
- getBeanDefinitionCount() - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the number of beans defined in the factory.
- getBeanDefinitionNames() - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the names of all beans defined in this factory.
- getBeanDefinitionNames(Class) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Deprecated. in favor of getBeanNamesForType. This method will be removed as of Spring 1.3.
- getBeanName() - Method in class org.springframework.beans.factory.BeanCreationException
- Return the name of the bean requested, if any.
- getBeanName() - Method in class org.springframework.beans.factory.BeanDefinitionStoreException
- Return the name of the bean requested, if any.
- getBeanName() - Method in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- Return the name of the instance that was of the wrong type.
- getBeanName() - Method in class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Return the name of the missing bean, if it was a lookup by name that failed.
- getBeanNamesForType(Class) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the names of beans matching the given type (including subclasses),
judging from either bean definitions or the value of
getObjectTypein the case of FactoryBeans. - getBeanNamesForType(Class, boolean, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the names of beans matching the given type (including subclasses),
judging from either bean definitions or the value of
getObjectTypein the case of FactoryBeans. - getBeanType() - Method in class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Return the required type of bean, if it was a lookup by type that failed.
- getBeansOfType(Class) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the bean instances that match the given object type (including
subclasses), judging from either bean definitions or the value of
getObjectTypein the case of FactoryBeans. - getBeansOfType(Class, boolean, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
- Return the bean instances that match the given object type (including
subclasses), judging from either bean definitions or the value of
getObjectTypein the case of FactoryBeans. - getObject() - Method in interface org.springframework.beans.factory.FactoryBean
- Return an instance (possibly shared or independent) of the object managed by this factory.
- getObject() - Method in interface org.springframework.beans.factory.ObjectFactory
- Return an instance (possibly shared or independent) of the object managed by this factory.
- getObjectType() - Method in interface org.springframework.beans.factory.FactoryBean
- Return the type of object that this FactoryBean creates, or null if not known in advance.
- getParentBeanFactory() - Method in interface org.springframework.beans.factory.HierarchicalBeanFactory
- Return the parent bean factory, or null if there is none.
- getRequiredType() - Method in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- Return the required type for the bean.
- getResourceDescription() - Method in class org.springframework.beans.factory.BeanCreationException
- Return the description of the resource that the bean definition came from, if any.
- getResourceDescription() - Method in class org.springframework.beans.factory.BeanDefinitionStoreException
- Return the description of the resource that the bean definition came from, if any.
- getType(String) - Method in interface org.springframework.beans.factory.BeanFactory
- Determine the type of the bean with the given name.
H
- HierarchicalBeanFactory - interface org.springframework.beans.factory.HierarchicalBeanFactory.
- Sub-interface implemented by bean factories that can be part of a hierarchy.
I
- InitializingBean - interface org.springframework.beans.factory.InitializingBean.
- Interface to be implemented by beans that need to react once all their properties have been set by a BeanFactory: for example, to perform custom initialization, or merely to check that all mandatory properties have been set.
- isFactoryDereference(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return whether the given name is a factory dereference (beginning with the factory dereference prefix).
- isSingleton(String) - Method in interface org.springframework.beans.factory.BeanFactory
- Is this bean a singleton? That is, will getBean() always return the same object?
- isSingleton() - Method in interface org.springframework.beans.factory.FactoryBean
- Is the bean managed by this factory a singleton or a prototype? That is, will getObject() always return the same object?
L
- ListableBeanFactory - interface org.springframework.beans.factory.ListableBeanFactory.
- Extension of the BeanFactory interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients.
N
- NoSuchBeanDefinitionException - exception org.springframework.beans.factory.NoSuchBeanDefinitionException.
- Exception thrown when a BeanFactory is asked for a bean instance name for which it cannot find a definition.
- NoSuchBeanDefinitionException(String, String) - Constructor for class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Create a new NoSuchBeanDefinitionException.
- NoSuchBeanDefinitionException(Class, String) - Constructor for class org.springframework.beans.factory.NoSuchBeanDefinitionException
- Create a new NoSuchBeanDefinitionException.
O
- ObjectFactory - interface org.springframework.beans.factory.ObjectFactory.
- Interface defining a factory which can return an Object instance (possibly shared or independent) when invoked.
- org.springframework.beans.factory - package org.springframework.beans.factory
R
- requiredType - Variable in class org.springframework.beans.factory.BeanNotOfRequiredTypeException
- The required type
- resourceDescription - Variable in class org.springframework.beans.factory.BeanCreationException
- resourceDescription - Variable in class org.springframework.beans.factory.BeanDefinitionStoreException
S
- setBeanFactory(BeanFactory) - Method in interface org.springframework.beans.factory.BeanFactoryAware
- Callback that supplies the owning factory to a bean instance.
- setBeanName(String) - Method in interface org.springframework.beans.factory.BeanNameAware
- Set the name of the bean in the bean factory that created this bean.
T
- transformedBeanName(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
- Return the bean name, stripping out the factory dereference prefix if necessary.
U
- UnsatisfiedDependencyException - exception org.springframework.beans.factory.UnsatisfiedDependencyException.
- Exception thrown when a bean depends on other beans or simple properties that were not specified in the bean factory definition, although dependency checking was enabled.
- UnsatisfiedDependencyException(String, String, int, Class, String) - Constructor for class org.springframework.beans.factory.UnsatisfiedDependencyException
- UnsatisfiedDependencyException(String, String, String, String) - Constructor for class org.springframework.beans.factory.UnsatisfiedDependencyException
A B C D F G H I L N O R S T U
|
|||||||||
| Home >> All >> org >> springframework >> beans >> [ factory overview ] | PREV NEXT | ||||||||