Added dependency injections docs to Gitbook
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0a70406d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0a70406d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0a70406d Branch: refs/heads/master Commit: 0a70406d0f7f79be4a69efcbefba6c577b9b20cf Parents: 6e55d2a Author: Andrea Cosentino <anco...@gmail.com> Authored: Tue Jul 19 10:41:25 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Tue Jul 19 10:41:25 2016 +0200 ---------------------------------------------------------------------- docs/user-manual/en/SUMMARY.md | 2 +- docs/user-manual/en/dependency-injection.adoc | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/0a70406d/docs/user-manual/en/SUMMARY.md ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md index cf1ef2d..1b3d94c 100644 --- a/docs/user-manual/en/SUMMARY.md +++ b/docs/user-manual/en/SUMMARY.md @@ -15,6 +15,7 @@ * [CamelContext](camelcontext.adoc) * [Debugger](debugger.adoc) * [Delay Interceptor](delay-interceptor.adoc) + * [Dependency Injection](dependency-injections.adoc) * [Dozer Type Conversion](dozer-type-conversion.adoc) * [Endpoint](endpoint.adoc) * [Exchange](exchange.adoc) @@ -27,7 +28,6 @@ <!-- * [AOP](aop.adoc) * [Camel-Core](camel-core.adoc) - * [Dependency Injection](dependency-injections.adoc) * [DSL](dsl.adoc) * [Error Handler](.adoc) * [Expression](.adoc) http://git-wip-us.apache.org/repos/asf/camel/blob/0a70406d/docs/user-manual/en/dependency-injection.adoc ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/dependency-injection.adoc b/docs/user-manual/en/dependency-injection.adoc new file mode 100644 index 0000000..4769a54 --- /dev/null +++ b/docs/user-manual/en/dependency-injection.adoc @@ -0,0 +1,17 @@ +[[DependencyInjection-DependencyInjection]] +Dependency Injection +~~~~~~~~~~~~~~~~~~~~ + +_Dependency Injection_ or _Inversion of Control_ is a pattern where +dependencies of an object are injected into the object without the +object being too aware of how the injection is performed. The two most +popular Dependency Injection libraries available at the time of writing +are + +* link:spring.html[Spring] +* link:guice.html[Guice] +* link:cdi.html[CDI] + +Camel is developed such that any Dependency Injection framework can be +used easily - though we've tried hard to optimise Camel for both +link:spring.html[Spring],link:cdi.html[CDI] and link:guice.html[Guice]