[jbossws-commits] JBossWS SVN: r9927 - common/trunk/src/main/java/org/jboss/wsf/common/javax.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Thu Apr 30 06:14:44 EDT 2009
Author: richard.opalka at jboss.com
Date: 2009-04-30 06:14:43 -0400 (Thu, 30 Apr 2009)
New Revision: 9927
Modified:
common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
Log:
[JBWS-2074][JBWS-2634] method javadoc
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-30 10:09:29 UTC (rev 9926)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-30 10:14:43 UTC (rev 9927)
@@ -73,13 +73,20 @@
}
/**
- * The Resource annotation marks a resource that is needed by the application. This annotation may be applied
+ * The resource annotations mark resources that are needed by the application. These annotations may be applied
* to an application component class, or to fields or methods of the component class. When the annotation is
* applied to a field or method, the container will inject an instance of the requested resource into the
* application component when the component is initialized. If the annotation is applied to the component class,
* the annotation declares a resource that the application will look up at runtime.
+ *
+ * This method handles the following injection types:
+ * <ul>
+ * <li>Descriptor specified injections</li>
+ * <li>@Resource annotated methods and fields</li>
+ * <li>@EJB annotated methods and fields</li>
+ * </ul>
*
- * @param instance to inject resource on
+ * @param instance to inject resources on
* @param injections injections metadata
* @throws Exception if some error occurs
*/
More information about the jbossws-commits
mailing list