openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1437749 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans: component/creation/ config/ container/ context/creational/ corespi/se/ inject/ inject/instance/ plugins/ proxy/ util/
Date Wed, 23 Jan 2013 21:28:23 GMT
Author: struberg
Date: Wed Jan 23 21:28:22 2013
New Revision: 1437749

URL: http://svn.apache.org/viewvc?rev=1437749&view=rev
Log:
OWB.344 fix JavaDocs after cleanup

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AbstractBeanBuilder.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/InterceptorBeanBuilder.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultJndiService.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/instance/InstanceImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorHandler.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AbstractBeanBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AbstractBeanBuilder.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AbstractBeanBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AbstractBeanBuilder.java
Wed Jan 23 21:28:22 2013
@@ -65,6 +65,7 @@ import org.apache.webbeans.util.WebBeans
  *
  * @param <T> bean class info
  */
+@SuppressWarnings({"ALL", "JavaDoc"})
 public abstract class AbstractBeanBuilder<T, A extends Annotated, B extends Bean<T>>
 {
     private A annotated;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/InterceptorBeanBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/InterceptorBeanBuilder.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/InterceptorBeanBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/InterceptorBeanBuilder.java
Wed Jan 23 21:28:22 2013
@@ -342,10 +342,6 @@ public abstract class InterceptorBeanBui
         return methods;
     }
 
-    /**
-     *
-     * @return
-     */
     private void checkSameClassInterceptors(List<AnnotatedMethod> alreadyDefinedMethods,
AnnotatedMethod annotatedMethod)
     {
         Class clazz = null;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Wed Jan 23 21:28:22 2013
@@ -565,8 +565,8 @@ public class BeansDeployer
      * Common helper method used to deploy annotated types discovered through
      * scanning or during beforeBeanDiscovery.
      * 
-     * @Param Class implClass the class of the bean to be deployed
-     * @Param AnnotatedType the AnnotatedType representing the bean to be deployed
+     * @param Class implClass the class of the bean to be deployed
+     * @param AnnotatedType the AnnotatedType representing the bean to be deployed
      */
     private void deploySingleAnnotatedType(Class implClass, AnnotatedType annotatedType)
     {

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Wed Jan 23 21:28:22 2013
@@ -184,7 +184,7 @@ public class BeanManagerImpl implements 
 
 
     /**
-     * we cache results of calls to {@link #isScopeTypeNormalCache} because
+     * we cache results of calls to {@link #isNormalScope(Class)} because
      * this doesn't change at runtime.
      * We don't need to take special care about classloader
      * hierarchies, because each cl has other classes.

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
Wed Jan 23 21:28:22 2013
@@ -105,7 +105,6 @@ public class CreationalContextImpl<T> im
     /**
      * Adds given dependent instance to the map.
      * 
-     * @param ownerInstance the contextual instance our dependent instance got injected into
      * @param dependent dependent contextual
      * @param instance dependent instance
      */

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultJndiService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultJndiService.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultJndiService.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultJndiService.java
Wed Jan 23 21:28:22 2013
@@ -32,7 +32,6 @@ import org.apache.webbeans.spi.JNDIServi
  * because they are only readonly (tomcat, resin, jetty, ...) or
  * don't exist at all (JDK standalone applications)
  *
- * @see org.apache.webbeans.corespi.ee.JNDIServiceEnterpriseImpl
  */
 public class DefaultJndiService implements JNDIService
 {

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/OWBInjector.java
Wed Jan 23 21:28:22 2013
@@ -41,7 +41,6 @@ public final class OWBInjector
      * @param beanManager the BeanManager to use
      * @param instanceUnderInjection instance
      * @param ownerCreationalContext CreationalContext of the owner
-     * @return this injector
      * @throws Exception if exception occurs
      */
     @SuppressWarnings("unchecked")

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/instance/InstanceImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/instance/InstanceImpl.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/instance/InstanceImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/instance/InstanceImpl.java
Wed Jan 23 21:28:22 2013
@@ -74,7 +74,6 @@ public class InstanceImpl<T> implements 
      * @param injectionPoint null or injection point
      * @param webBeansContext
      * @param creationalContext will get used for creating &#064;Dependent beans
-     * @param ownerInstance the object the current Instance got injected into
      * @param annotations qualifier annotations
      */
     public InstanceImpl(Type injectionClazz, InjectionPoint injectionPoint, WebBeansContext
webBeansContext,

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
Wed Jan 23 21:28:22 2013
@@ -41,8 +41,7 @@ import org.apache.webbeans.spi.plugins.O
  * <p>Core functionality are all parts which are available in a standard
  * JDK-1.5 SE runtime. Extended functionality are things like JPA, JSF, EJB etc.</p>
  * 
- * <p>The plugin mechanism is based on the ServiceProvider functionality 
- * {@link http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider}.
+ * <p>The plugin mechanism is based on the ServiceProvider functionality.
  * A jar containing an OWB plugin has to expose itself in the file
  * <code>META-INF/services/org.apache.webbeans.plugins.OpenWebBeansPlugin</code></p>

  */

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorHandler.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorHandler.java
Wed Jan 23 21:28:22 2013
@@ -21,16 +21,18 @@ package org.apache.webbeans.proxy;
 import java.lang.reflect.Method;
 
 /**
+ * An InterceptorHandler can be used to dynamically invoke methods on
+ * an internally stored target instance.
  */
 public interface InterceptorHandler
 {
 
     /**
-     *
+     * This method will get called whenever the proxy
+     * of the intercepted instance will get invoked.
      * @param method Method which should get invoked
-     * @param args
-     * @return
-     * @throws Throwable
+     * @param args original invocation parameters
+     * @return the return value of the intercepted methos
      */
     public Object invoke(Method method, Object[] args);
 }

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java?rev=1437749&r1=1437748&r2=1437749&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Wed Jan 23 21:28:22 2013
@@ -281,9 +281,6 @@ public final class WebBeansUtil
     /**
      * Return <code>true</code> if the given class is ok for manage bean conditions,
      * <code>false</code> otherwise.
-     *
-     * @param clazz class in hand
-     * @return <code>true</code> if the given class is ok for simple web bean
conditions.
      */
     public void isManagedBeanClass(Class<?> clazz)
     {



Mime
View raw message