These methods are implemented in the registered bean and eventually called by the container upon the bean initialization and before its destruction.
这些方法是在已经注册的bean中实现的,最终由容器在bean初始化及其销毁之前调用它。
For example, a persistence framework bean may rely on some facilities defined by a file management bean.
例如,一个持久性框架bean可能依赖一些由文件管理bean定义的功能。
In the case of implicit service creation, the bean is exposed as a single service by declaring the bean class itself as an interface for the service.
在隐式创建服务时,bean被公开为单一服务,方法是将bean类本身声明为服务的一个接口。
应用推荐