|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2011 the original author or authors. |
|
|
|
|
* Copyright 2002-2016 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -19,7 +19,7 @@ package org.springframework.beans.factory; |
|
|
|
|
/** |
|
|
|
|
* 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 |
|
|
|
|
* that an object depends on its bean name, as this represents a potentially |
|
|
|
|
* brittle dependence on external configuration, as well as a possibly |
|
|
|
|
* unnecessary dependence on a Spring API. |
|
|
|
|
* |
|
|
|
|