camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r659760 - in /activemq/camel/trunk/camel-core: ./ src/main/java/org/apache/camel/builder/ src/main/java/org/apache/camel/builder/xml/ src/main/java/org/apache/camel/component/file/ src/main/java/org/apache/camel/language/ src/main/java/org/...
Date Sat, 24 May 2008 07:43:43 GMT
Author: davsclaus
Date: Sat May 24 00:43:42 2008
New Revision: 659760

URL: http://svn.apache.org/viewvc?rev=659760&view=rev
Log:
CAMEL-517: Javadoc polished

Modified:
    activemq/camel/trunk/camel-core/pom.xml
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ConstantProcessorBuilder.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilder.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilderSupport.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/PredicateFactory.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/DomResultHandlerFactory.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/ResultHandlerFactory.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StreamResultHandlerFactory.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StringResultHandlerFactory.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XPathLanguage.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileEndpoint.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/ExpressionEvaluationException.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageAnnotation.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageExpression.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/RuntimeBeanExpressionException.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/FilterProcessor.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/SendProcessor.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/ThroughputLogger.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseLatestAggregationStrategy.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/ExceptionPolicyStrategy.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatorErrorHandler.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InstrumentationAgent.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/LifecycleStrategy.java

Modified: activemq/camel/trunk/camel-core/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/pom.xml?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/pom.xml (original)
+++ activemq/camel/trunk/camel-core/pom.xml Sat May 24 00:43:42 2008
@@ -169,7 +169,7 @@
               <packages>org.apache.camel.model:org.apache.camel.model.*</packages>
             </group>
             <group>
-              <title>Strategy APIs for implementors extend Camel</title>
+              <title>Strategy APIs for implementors extending Camel</title>
               <packages>org.apache.camel.spi</packages>
             </group>
             <group>
@@ -277,7 +277,7 @@
                   <packages>org.apache.camel.model:org.apache.camel.model.*</packages>
                 </group>
                 <group>
-                  <title>Strategy APIs for implementors extend Camel</title>
+                  <title>Strategy APIs for implementors extending Camel</title>
                   <packages>org.apache.camel.spi</packages>
                 </group>
                 <group>

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ConstantProcessorBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ConstantProcessorBuilder.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ConstantProcessorBuilder.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ConstantProcessorBuilder.java
Sat May 24 00:43:42 2008
@@ -19,6 +19,8 @@
 import org.apache.camel.Processor;
 
 /**
+ * A builder wrapping a {@link Processor}.
+ *
  * @version $Revision$
  */
 public class ConstantProcessorBuilder implements ProcessorFactory {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
Sat May 24 00:43:42 2008
@@ -38,9 +38,12 @@
     private final T processorType;
     private final Operation operation;
 
+    /**
+     * {@link DataFormat} operations.
+     */
     public enum Operation {
         Marshal, Unmarshal
-    };
+    }
 
     public DataFormatClause(T processorType, Operation operation) {
         this.processorType = processorType;
@@ -152,7 +155,7 @@
         case Marshal:
             return (T)processorType.marshal(dataFormatType);
         default:
-            throw new IllegalArgumentException("Unknown value: " + operation);
+            throw new IllegalArgumentException("Unknown DataFormat operation: " + operation);
         }
     }
 

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilder.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilder.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilder.java
Sat May 24 00:43:42 2008
@@ -20,9 +20,12 @@
 import org.apache.camel.model.ExceptionType;
 
 /**
+ * A builder of a <a href="http://activemq.apache.org/camel/error-handler.html">Error
Handler</a>
+ *
  * @version $Revision$
  */
 public interface ErrorHandlerBuilder {
+
     /**
      * Creates a copy of this builder
      */
@@ -33,5 +36,10 @@
      */
     Processor createErrorHandler(Processor processor) throws Exception;
 
+    /**
+     * Adds error handler for the given exception type
+     * @param exception  the exception to handle
+     */
     void addErrorHandlers(ExceptionType exception);
+
 }

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilderSupport.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilderSupport.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilderSupport.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ErrorHandlerBuilderSupport.java
Sat May 24 00:43:42 2008
@@ -23,6 +23,8 @@
 import org.apache.camel.processor.ErrorHandlerSupport;
 
 /**
+ * Base class for builders of error handling.
+ *
  * @version $Revision$
  */
 public abstract class ErrorHandlerBuilderSupport implements ErrorHandlerBuilder {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
Sat May 24 00:43:42 2008
@@ -28,11 +28,12 @@
 import org.apache.camel.Message;
 
 /**
+ * A helper class for working with <a href="http://activemq.apache.org/camel/expression.html">expressions</a>.
+ *
  * @version $Revision$
  */
 public final class ExpressionBuilder {
 
-
     /**
      * Utility classes should not have a public constructor.
      */

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/PredicateFactory.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/PredicateFactory.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/PredicateFactory.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/PredicateFactory.java
Sat May 24 00:43:42 2008
@@ -20,7 +20,8 @@
 import org.apache.camel.Predicate;
 
 /**
- * A Factory of {@link Predicate} objects typically implemented by a builder such as @{XPathBuilder}
+ * A Factory of {@link Predicate} objects typically implemented by a builder such as
+ * {@link org.apache.camel.builder.xml.XPathBuilder XPathBuilder}
  *
  * @version $Revision$
  */

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/DomResultHandlerFactory.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/DomResultHandlerFactory.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/DomResultHandlerFactory.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/DomResultHandlerFactory.java
Sat May 24 00:43:42 2008
@@ -17,6 +17,8 @@
 package org.apache.camel.builder.xml;
 
 /**
+ * Factory for {@link DomResultHandler}
+ *
  * @version $Revision$
  */
 public class DomResultHandlerFactory implements ResultHandlerFactory {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/ResultHandlerFactory.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/ResultHandlerFactory.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/ResultHandlerFactory.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/ResultHandlerFactory.java
Sat May 24 00:43:42 2008
@@ -17,6 +17,8 @@
 package org.apache.camel.builder.xml;
 
 /**
+ * Factory for {@link org.apache.camel.builder.xml.ResultHandler}
+ *
  * @version $Revision$
  */
 public interface ResultHandlerFactory {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StreamResultHandlerFactory.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StreamResultHandlerFactory.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StreamResultHandlerFactory.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StreamResultHandlerFactory.java
Sat May 24 00:43:42 2008
@@ -17,6 +17,8 @@
 package org.apache.camel.builder.xml;
 
 /**
+ * Factory for {@link StreamResultHandler}
+ *
  * @version $Revision$
  */
 public class StreamResultHandlerFactory implements ResultHandlerFactory {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StringResultHandlerFactory.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StringResultHandlerFactory.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StringResultHandlerFactory.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/StringResultHandlerFactory.java
Sat May 24 00:43:42 2008
@@ -17,6 +17,8 @@
 package org.apache.camel.builder.xml;
 
 /**
+ * Factory for {@link StringResultHandler}
+ *
  * @version $Revision$
  */
 public class StringResultHandlerFactory implements ResultHandlerFactory {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XPathLanguage.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XPathLanguage.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XPathLanguage.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XPathLanguage.java
Sat May 24 00:43:42 2008
@@ -24,6 +24,8 @@
 import org.apache.camel.spi.Language;
 
 /**
+ * XPath language.
+ *
  * @version $Revision$
  */
 public class XPathLanguage implements Language {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileEndpoint.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileEndpoint.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileEndpoint.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileEndpoint.java
Sat May 24 00:43:42 2008
@@ -299,7 +299,7 @@
             return (FileProcessStrategy) ObjectHelper.invokeMethod(factoryMethod, null, getParamsAsProperties());
         } catch (NoSuchMethodException e) {
             throw new TypeNotPresentException(factory.getSimpleName() 
-                + ".createFileProcessStrategy(Properties params) moethod not found", e);
+                + ".createFileProcessStrategy(Properties params) method not found", e);
         }
     }
 

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/ExpressionEvaluationException.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/ExpressionEvaluationException.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/ExpressionEvaluationException.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/ExpressionEvaluationException.java
Sat May 24 00:43:42 2008
@@ -21,6 +21,8 @@
 import org.apache.camel.RuntimeCamelException;
 
 /**
+ * An exception thrown if evaluation of the expression failed.
+ *
  * @version $Revision$
  */
 public class ExpressionEvaluationException extends RuntimeCamelException {
@@ -36,4 +38,9 @@
     public Expression<Exchange> getExpression() {
         return expression;
     }
+
+    public Exchange getExchange() {
+        return exchange;
+    }
+    
 }

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageAnnotation.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageAnnotation.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageAnnotation.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageAnnotation.java
Sat May 24 00:43:42 2008
@@ -24,6 +24,8 @@
 import org.apache.camel.component.bean.DefaultAnnotationExpressionFactory;
 
 /**
+ * Base annotation for languages.
+ *
  * @version $Revision$
  */
 @Retention(RetentionPolicy.RUNTIME)

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageExpression.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageExpression.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageExpression.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/LanguageExpression.java
Sat May 24 00:43:42 2008
@@ -22,6 +22,8 @@
 import java.lang.annotation.Target;
 
 /**
+ * Base annotation for language expressions.
+ *
  * @version $Revision$
  */
 @Retention(RetentionPolicy.RUNTIME)

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/RuntimeBeanExpressionException.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/RuntimeBeanExpressionException.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/RuntimeBeanExpressionException.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/RuntimeBeanExpressionException.java
Sat May 24 00:43:42 2008
@@ -20,6 +20,8 @@
 import org.apache.camel.RuntimeExpressionException;
 
 /**
+ * Exception thrown if invocation of bean failed.
+ *
  * @version $Revision$
  */
 public class RuntimeBeanExpressionException extends RuntimeExpressionException {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
Sat May 24 00:43:42 2008
@@ -21,6 +21,8 @@
 import org.apache.camel.Processor;
 
 /**
+ * A processor which catches exceptions.
+ *
  * @version $Revision$
  */
 public class CatchProcessor extends DelegateProcessor {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/FilterProcessor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/FilterProcessor.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/FilterProcessor.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/FilterProcessor.java
Sat May 24 00:43:42 2008
@@ -21,6 +21,9 @@
 import org.apache.camel.Processor;
 
 /**
+ * The processor which implements the
+ * <a href="http://activemq.apache.org/camel/message-filter.html">Message Filter</a>
EIP pattern.
+ *
  * @version $Revision$
  */
 public class FilterProcessor extends DelegateProcessor {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/SendProcessor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/SendProcessor.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/SendProcessor.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/SendProcessor.java
Sat May 24 00:43:42 2008
@@ -28,6 +28,8 @@
 import org.apache.commons.logging.LogFactory;
 
 /**
+ * Processor for forwarding exchanges to an endpoint destination.
+ *
  * @version $Revision$
  */
 public class SendProcessor extends ServiceSupport implements AsyncProcessor, Service {
@@ -73,7 +75,6 @@
             return processor.process(exchange, callback);
         }
     }
-
     
     public Endpoint getDestination() {
         return destination;

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/ThroughputLogger.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/ThroughputLogger.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/ThroughputLogger.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/ThroughputLogger.java
Sat May 24 00:43:42 2008
@@ -23,6 +23,8 @@
 import org.apache.commons.logging.Log;
 
 /**
+ * A logger for logging message throughput.
+ *  
  * @version $Revision$
  */
 public class ThroughputLogger extends Logger {

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseLatestAggregationStrategy.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseLatestAggregationStrategy.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseLatestAggregationStrategy.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseLatestAggregationStrategy.java
Sat May 24 00:43:42 2008
@@ -20,7 +20,7 @@
 
 /**
  * An {@link AggregationStrategy} which just uses the latest exchange which is useful
- * for status messages where old status messages have no real value; another example is things
+ * for status messages where old status messages have no real value. Another example is things
  * like market data prices, where old stock prices are not that relevant, only the current
price is.
  *
  * @version $Revision$

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/ExceptionPolicyStrategy.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/ExceptionPolicyStrategy.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/ExceptionPolicyStrategy.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/ExceptionPolicyStrategy.java
Sat May 24 00:43:42 2008
@@ -22,7 +22,7 @@
 import org.apache.camel.model.ExceptionType;
 
 /**
- * A strategy to determine witch {@link org.apache.camel.model.ExceptionType} should handle
the thrown
+ * A strategy to determine which {@link org.apache.camel.model.ExceptionType} should handle
the thrown
  * exception.
  *
  * @see org.apache.camel.processor.exceptionpolicy.DefaultExceptionPolicyStrategy DefaultExceptionPolicy

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatorErrorHandler.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatorErrorHandler.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatorErrorHandler.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatorErrorHandler.java
Sat May 24 00:43:42 2008
@@ -25,9 +25,12 @@
 import org.apache.camel.ValidationException;
 
 /**
+ * Validator error handler.
+ *
  * @version $Revision$
  */
 public interface ValidatorErrorHandler extends ErrorHandler {
+
     /**
      * Resets any state within this error handler
      */
@@ -36,9 +39,9 @@
     /**
      * Process any errors which may have occurred during validation
      *
-     * @param exchange
-     * @param schema
-     * @param result
+     * @param exchange the exchange
+     * @param schema   the schema
+     * @param result   the result
      */
     void handleErrors(Exchange exchange, Schema schema, DOMResult result) throws ValidationException;
 }

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InstrumentationAgent.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InstrumentationAgent.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InstrumentationAgent.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InstrumentationAgent.java
Sat May 24 00:43:42 2008
@@ -22,39 +22,47 @@
 
 import org.apache.camel.Service;
 
+/**
+ * Camel JMX service agent
+ */
 public interface InstrumentationAgent extends Service {
 
     /**
      * Registers object with management infrastructure with a specific name. Object must
be annotated or 
      * implement standard MBean interface.
-     * @param obj
-     * @param name
-     * @throws JMException
+     *
+     * @param obj  the object to register
+     * @param name the name
+     * @throws JMException is thrown if the registration failed
      */
     void register(Object obj, ObjectName name) throws JMException;
     
     /**
      * Registers object with management infrastructure with a specific name. Object must
be annotated or 
      * implement standard MBean interface.
-     * @param obj
-     * @param name
-     * @param forceRegistration if set to true, then component will be registered despite
existing component.
-     * @throws JMException
+     *
+     * @param obj  the object to register
+     * @param name the name
+     * @param forceRegistration if set to <tt>true</tt>, then object will be
registered despite
+     * existing object is already registered with the name.
+     * @throws JMException is thrown if the registration failed
      */
     void register(Object obj, ObjectName name, boolean forceRegistration) throws JMException;
     
     /**
-     * Unregisters component based upon registered name
-     * @param name
-     * @throws JMException
+     * Unregisters object based upon registered name
+     *
+     * @param name the name
+     * @throws JMException is thrown if the unregistration failed
      */
     void unregister(ObjectName name) throws JMException;
 
     /**
-     * Get the MBeanServer which hosts managed components
-     * NOTE: if the configuration is not set the JMXEnabled to be true, this method
-     * will return null
-     * @return the MBeanServer 
+     * Get the MBeanServer which hosts managed objects.
+     * <p/>
+     * NOTE: if the JMXEnabled configuration is not set to true, this method will return
null.
+     * 
+     * @return the MBeanServer
      */
     MBeanServer getMBeanServer();
 

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/LifecycleStrategy.java?rev=659760&r1=659759&r2=659760&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
Sat May 24 00:43:42 2008
@@ -24,6 +24,9 @@
 import org.apache.camel.Route;
 import org.apache.camel.Service;
 
+/**
+ * Strategy for notifications
+ */
 public interface LifecycleStrategy {
     /**
      * Notification on adding a {@link CamelContext}.



Mime
View raw message