diff options
author | Bob Lee <crazybob@crazybob.org> | 2009-07-09 04:50:43 +0000 |
---|---|---|
committer | Bob Lee <crazybob@crazybob.org> | 2009-07-09 04:50:43 +0000 |
commit | 79ff301e4ba506aa5da01b7d019a480b93756957 (patch) | |
tree | 065dfa3392994ed28c0ed8b0edf78d578964d54a /src | |
parent | ba55c0ceeb98f112d798c3c8817ad1d0d7003668 (diff) | |
download | platform_external_jsr330-79ff301e4ba506aa5da01b7d019a480b93756957.tar.gz platform_external_jsr330-79ff301e4ba506aa5da01b7d019a480b93756957.tar.bz2 platform_external_jsr330-79ff301e4ba506aa5da01b7d019a480b93756957.zip |
Moved a sentence.
git-svn-id: https://atinject.googlecode.com/svn/trunk@20 3bc8319c-20ab-11de-9edc-3f40a397ab60
Diffstat (limited to 'src')
-rw-r--r-- | src/javax/inject/package-info.java | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/javax/inject/package-info.java b/src/javax/inject/package-info.java index c996e70..db76976 100644 --- a/src/javax/inject/package-info.java +++ b/src/javax/inject/package-info.java @@ -131,17 +131,15 @@ * <p>The total decrease in unit-test complexity is proportional to the * product of the number of unit tests and the number of dependencies. * - * <p>Programmers annotate constructors, methods, and fields to advertise - * their injectability (constructor injection is demonstrated in the examples - * above). A dependency injector identifies a class's dependencies by - * inspecting these annotations, and injects the dependencies at runtime. - * Moreover, the injector can verify that all dependencies have been satisfied - * at <i>build time</i>. A service locator, by contrast, cannot detect - * unsatisfied dependencies until run time. - * - * <p>This package provides dependency injection annotations that enable - * portable classes, but it leaves external dependency configuration up to the - * injector implementation. + * <p><b>This package provides dependency injection annotations that enable + * portable classes</b>, but it leaves external dependency configuration up to + * the injector implementation. Programmers annotate constructors, methods, + * and fields to advertise their injectability (constructor injection is + * demonstrated in the examples above). A dependency injector identifies a + * class's dependencies by inspecting these annotations, and injects the + * dependencies at runtime. Moreover, the injector can verify that all + * dependencies have been satisfied at <i>build time</i>. A service locator, + * by contrast, cannot detect unsatisfied dependencies until run time. * * <p>Injector implementations can take many forms. An injector could * configure itself using XML, annotations, a DSL (domain-specific language), |