parent
dd65f7acfc
commit
3ccf653174
|
@ -18,7 +18,7 @@ package org.springframework.beans.factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback that allows a bean to be aware of the bean
|
* Callback that allows a bean to be aware of the bean
|
||||||
* {@link ClassLoader class loader}; that is, the class loader used by the
|
* {@link ClassLoader class loader}; that is, the class loader is used by the
|
||||||
* present bean factory to load bean classes.
|
* present bean factory to load bean classes.
|
||||||
*
|
*
|
||||||
* <p>This is mainly intended to be implemented by framework classes which
|
* <p>This is mainly intended to be implemented by framework classes which
|
||||||
|
|
|
@ -19,7 +19,7 @@ package org.springframework.beans.factory;
|
||||||
/**
|
/**
|
||||||
* Interface to be implemented by beans that want to be aware of their
|
* Interface to be implemented by beans that want to be aware of their
|
||||||
* bean name in a bean factory. Note that it is not usually recommended
|
* bean name in a bean factory. Note that it is not usually recommended
|
||||||
* that an object depend on its bean name, as this represents a potentially
|
* that an object depends on its bean name, as this represents a potentially
|
||||||
* brittle dependence on external configuration, as well as a possibly
|
* brittle dependence on external configuration, as well as a possibly
|
||||||
* unnecessary dependence on a Spring API.
|
* unnecessary dependence on a Spring API.
|
||||||
*
|
*
|
||||||
|
|
|
@ -24,7 +24,7 @@ package org.springframework.beans.factory;
|
||||||
*
|
*
|
||||||
* <p>An alternative to implementing DisposableBean is specifying a custom
|
* <p>An alternative to implementing DisposableBean is specifying a custom
|
||||||
* destroy-method, for example in an XML bean definition.
|
* destroy-method, for example in an XML bean definition.
|
||||||
* For a list of all bean lifecycle methods, see the BeanFactory javadocs.
|
* For a list of all bean lifecycle methods, see the {@link BeanFactory BeanFactory javadocs}.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 12.08.2003
|
* @since 12.08.2003
|
||||||
|
|
|
@ -24,7 +24,7 @@ package org.springframework.beans.factory;
|
||||||
*
|
*
|
||||||
* <p><b>NB: A bean that implements this interface cannot be used as a
|
* <p><b>NB: A bean that implements this interface cannot be used as a
|
||||||
* normal bean.</b> A FactoryBean is defined in a bean style, but the
|
* normal bean.</b> A FactoryBean is defined in a bean style, but the
|
||||||
* object exposed for bean references ({@link #getObject()} is always
|
* object exposed for bean references ({@link #getObject()}) is always
|
||||||
* the object that it creates.
|
* the object that it creates.
|
||||||
*
|
*
|
||||||
* <p>FactoryBeans can support singletons and prototypes, and can
|
* <p>FactoryBeans can support singletons and prototypes, and can
|
||||||
|
|
|
@ -23,7 +23,7 @@ package org.springframework.beans.factory;
|
||||||
*
|
*
|
||||||
* <p>An alternative to implementing InitializingBean is specifying a custom
|
* <p>An alternative to implementing InitializingBean is specifying a custom
|
||||||
* init-method, for example in an XML bean definition.
|
* init-method, for example in an XML bean definition.
|
||||||
* For a list of all bean lifecycle methods, see the BeanFactory javadocs.
|
* For a list of all bean lifecycle methods, see the {@link BeanFactory BeanFactory javadocs}.
|
||||||
*
|
*
|
||||||
* @author Rod Johnson
|
* @author Rod Johnson
|
||||||
* @see BeanNameAware
|
* @see BeanNameAware
|
||||||
|
|
Loading…
Reference in New Issue