|
ColdSpring 2.0 - Narwhal
|
FRAMES
|
coldspring.beans.factory
Interface
BeanNameAware
WEB-INF.cftags.interface
coldspring.beans.factory.BeanNameAware
- All Known Implementing Classes:
-
RemoteFactoryBean
-
public interface BeanNameAware
- extends WEB-INF.cftags.interface
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 that an object depend on its bean name, as this represents a
potentially brittle dependence on external configuration, as well as a possibly unnecessary dependence on a ColdSpring API.
Method Summary |
void |
setBeanName(string name)
Set the name of the bean in the bean factory that created this bean
|
Methods inherited from class WEB-INF.cftags.interface |
|
setBeanName
public void setBeanName(string name)
-
Set the name of the bean in the bean factory that created this bean.
Invoked after population of normal bean properties but before an a custom init-method.
- Parameters:
name
- the name of the bean in the factory.
Note that this name is the actual bean name used in the factory,
which may differ from the originally specified name
|
ColdSpring 2.0 - Narwhal
|
FRAMES
|