Fix JavaDocs issues
This commit is contained in:
@@ -43,6 +43,8 @@ public @interface IntegrationComponentScan {
|
||||
* Allows for more concise annotation declarations e.g.:
|
||||
* {@code @ComponentScan("org.my.pkg")} instead of
|
||||
* {@code @ComponentScan(basePackages="org.my.pkg")}.
|
||||
*
|
||||
* @return the array of 'basePackages'.
|
||||
*/
|
||||
String[] value() default {};
|
||||
|
||||
@@ -50,6 +52,8 @@ public @interface IntegrationComponentScan {
|
||||
* Base packages to scan for annotated components.
|
||||
* <p>{@link #value()} is an alias for (and mutually exclusive with) this attribute.
|
||||
* <p>Use {@link #basePackageClasses()} for a type-safe alternative to String-based package names.
|
||||
*
|
||||
* @return the array of 'basePackages'.
|
||||
*/
|
||||
String[] basePackages() default {};
|
||||
|
||||
@@ -58,6 +62,8 @@ public @interface IntegrationComponentScan {
|
||||
* to scan for annotated components. The package of each class specified will be scanned.
|
||||
* <p>Consider creating a special no-op marker class or interface in each package
|
||||
* that serves no purpose other than being referenced by this attribute.
|
||||
*
|
||||
* @return the array of 'basePackageClasses'.
|
||||
*/
|
||||
Class<?>[] basePackageClasses() default {};
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.messaging.SubscribableChannel;
|
||||
* other {@link SubscribableChannel}s where the {@link MessageHandler} is subscribed when the endpoint
|
||||
* is started). This channel does not support interceptors or data types.
|
||||
* <p>
|
||||
* <b>Note: Stopping ({@link #unsubscribe(MessageHandler)}) the subscribed ({@link MessageHandler}) has no effect.
|
||||
* <b>Note: Stopping ({@link #unsubscribe(MessageHandler)}) the subscribed ({@link MessageHandler}) has no effect.</b>
|
||||
*
|
||||
* @author Gary Russell
|
||||
* @since 4.0
|
||||
|
||||
@@ -42,6 +42,9 @@ public class ExpressionEvaluatingHeaderValueMessageProcessor<T> extends Abstract
|
||||
* Create a header value processor for the given Expression and the
|
||||
* expected type of the expression evaluation result. The expectedType
|
||||
* may be null if unknown.
|
||||
*
|
||||
* @param expression the {@link Expression} to evaluate.
|
||||
* @param expectedType the type for return value of {@code expression} evaluation result.
|
||||
*/
|
||||
public ExpressionEvaluatingHeaderValueMessageProcessor(Expression expression, Class<T> expectedType) {
|
||||
this.targetProcessor = new ExpressionEvaluatingMessageProcessor<T>(expression, expectedType);
|
||||
@@ -51,6 +54,9 @@ public class ExpressionEvaluatingHeaderValueMessageProcessor<T> extends Abstract
|
||||
* Create a header value processor for the given expression string and
|
||||
* the expected type of the expression evaluation result. The
|
||||
* expectedType may be null if unknown.
|
||||
*
|
||||
* @param expressionString the {@link java.lang.String} expression presentation to evaluate.
|
||||
* @param expectedType the type for return value of {@code expression} evaluation result.
|
||||
*/
|
||||
public ExpressionEvaluatingHeaderValueMessageProcessor(String expressionString, Class<T> expectedType) {
|
||||
Expression expression = expressionParser.parseExpression(expressionString);
|
||||
|
||||
Reference in New Issue
Block a user