We could dependency inject this object or apply any other Spring component model services if we wanted.
我们可以依赖注入这个对象,或者应用任何其他的Spring组件模型服务,如果我们愿意的话。
You can use Dependency Injection (JSR-330) in action classes to inject a session object into a field of the action class.
你可以在Action类中使用依赖注入(JSR- 330)将会话对象注入到Action类中的属性上。
The service consumer USES the dependency injection technology to inject the required service provider implementation at runtime.
在运行时,服务使用者使用依赖注入技术来注入所需的服务提供者实现。
It finds any fields you annotate and tries to inject the appropriate dependency.
字段注入查找注释的所有字段并试图注入相应的依赖项。
[you can] start depending on the capabilities of Rake more by being able to inject Rake tasks into the Ant dependency graph.
[你就可以]更多地依赖Rake的能力,将Rake任务注入进ant依赖图中。
The theory here is that if you can't inject the dependency, you can't construct the dependent class.
这里的理论就是:如果不能注入依赖项,那么就不能构建依赖类。
We have resolved our dependency issue: we are going to inject our dependencies into the constructors of our classes at runtime.
我们已经解决了依赖性问题:我们在运行时把依赖性注入到类的构造器之中。
Type 2 or setter injection, in which the dependent module exposes a setter method which the framework USES to inject the dependency.
类型2设置器注入,使用者暴露一个设置器方法,框架将使用此方法注入依赖项。
Type 2 or setter injection, in which the dependent module exposes a setter method which the framework USES to inject the dependency.
类型2设置器注入,使用者暴露一个设置器方法,框架将使用此方法注入依赖项。
应用推荐