From ed069712b6f7de1d062d370ceb2c19835898e053 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Fri, 16 Jul 2010 09:45:23 +0000 Subject: [PATCH] --- .../cdi/src/main/java/org/wamblee/cdi/package-info.java | 5 ++++- support/cdi/src/site/xdoc/index.xml | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/support/cdi/src/main/java/org/wamblee/cdi/package-info.java b/support/cdi/src/main/java/org/wamblee/cdi/package-info.java index 391c5308..3913a07a 100644 --- a/support/cdi/src/main/java/org/wamblee/cdi/package-info.java +++ b/support/cdi/src/main/java/org/wamblee/cdi/package-info.java @@ -14,11 +14,14 @@ * limitations under the License. */ /** - * This package provides a utilities for dependency injection with CDI. + * This package provides the integration of org.wamblee.inject with + * with CDI. * * The APIs of this package are typically not used directly but are used implicitly through * {@link org.wamblee.inject.SimpleInjector}, {@link org.wamblee.inject.InjectorFactoryBuilder}, and * {@link org.wamblee.inject.Injectable}. + * + * To use CDI this package must be available on the classpath. */ package org.wamblee.cdi; diff --git a/support/cdi/src/site/xdoc/index.xml b/support/cdi/src/site/xdoc/index.xml index b0e81c54..a8e8d5d5 100644 --- a/support/cdi/src/site/xdoc/index.xml +++ b/support/cdi/src/site/xdoc/index.xml @@ -10,10 +10,14 @@

The CDI (Contexts and Dependency Injection, JSR-299) support library contains support for - injecting contextual references into any object. THis is useful for integration of CDI in + injecting contextual references into any object. This is useful for integration of CDI in application managed objects or for integration in third-party frameworks. Injection based on for instance @EJB, @Resource, and @PersistenceContext becomes a one liner. - In addition, there is also testing support in the APIs.

+

+

+ This is a key component for integrating Java EE dependency injection into several (web) + frameworks since it allows Java EE dependency injection into regular objects. +

Package overview: