Per the CDI specification, whenever the ManageCustomer bean instance is instantiated by a container, the CustomerService bean instance will be auto injected in it.
Of course, the auto-resize component will only kick in if there is space in the file system for the container to grow.
当然,只有文件系统中存在空间让容器增长,自动调整大小组件才开始起作用。
3
The managed objects created by the provider contain similar auto-enlistment code as the JDBC wrapper added by the container-supplied connection pool manager.