Moved the @Header annotation from the 'org.springframework.integration.handler.annotation' to the 'org.springframework.integration.annotation' package.

This commit is contained in:
Mark Fisher
2008-08-27 21:21:57 +00:00
parent 3061d6ed8a
commit 59c3d5c9e3
10 changed files with 10 additions and 14 deletions

View File

@@ -31,9 +31,7 @@ import java.lang.annotation.Target;
* Message payload's type. Any type conversion supported by
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
* the Message payload if necessary. Header values can also be passed as
* Message parameters by using the
* {@link org.springframework.integration.handler.annotation.Header @Header}
* parameter annotation.
* Message parameters by using the {@link Header @Header} parameter annotation.
* <p>
* Return values from the annotated method may be of any type. If the return
* value is not a Message, a reply Message will be created with that object

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.integration.handler.annotation;
package org.springframework.integration.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@@ -32,9 +32,7 @@ import java.lang.annotation.Target;
* Message payload's type. Any type conversion supported by
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
* the Message payload if necessary. Header values can also be passed as
* Message parameters by using the
* {@link org.springframework.integration.handler.annotation.Header @Header}
* parameter annotation.
* Message parameters by using the {@link Header @Header} parameter annotation.
* <p>
* Return values from the annotated method may be either a Collection or Array
* whose elements are either

View File

@@ -31,9 +31,7 @@ import java.lang.annotation.Target;
* Message payload's type. Any type conversion supported by
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
* the Message payload if necessary. Header values can also be passed as
* Message parameters by using the
* {@link org.springframework.integration.handler.annotation.Header @Header}
* parameter annotation.
* Message parameters by using the {@link Header @Header} parameter annotation.
* <p>
* Return values from the annotated method may be either a Collection or Array
* with elements of any type. If the type is not a Message, each will be used

View File

@@ -24,6 +24,7 @@ import org.springframework.core.GenericTypeResolver;
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.MethodParameter;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.message.Message;
import org.springframework.integration.message.MessageHandlingException;
import org.springframework.integration.message.MessageHeaders;

View File

@@ -25,7 +25,7 @@ import java.util.Properties;
import org.junit.Test;
import org.springframework.integration.annotation.Handler;
import org.springframework.integration.handler.annotation.Header;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.message.GenericMessage;
import org.springframework.integration.message.Message;
import org.springframework.integration.message.MessageBuilder;

View File

@@ -27,6 +27,7 @@ import java.util.Properties;
import org.junit.Test;
import org.springframework.integration.annotation.Handler;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.message.Message;
import org.springframework.integration.message.MessageBuilder;
import org.springframework.integration.message.MessageHandlingException;

View File

@@ -26,12 +26,12 @@ import java.util.List;
import org.junit.Test;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.channel.ChannelRegistry;
import org.springframework.integration.channel.ChannelRegistryAware;
import org.springframework.integration.channel.DefaultChannelRegistry;
import org.springframework.integration.channel.MessageChannel;
import org.springframework.integration.channel.QueueChannel;
import org.springframework.integration.handler.annotation.Header;
import org.springframework.integration.message.CompositeMessage;
import org.springframework.integration.message.GenericMessage;
import org.springframework.integration.message.Message;

View File

@@ -26,7 +26,7 @@ import java.util.List;
import org.junit.Test;
import org.springframework.integration.handler.annotation.Header;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.message.CompositeMessage;
import org.springframework.integration.message.Message;
import org.springframework.integration.message.MessageBuilder;

View File

@@ -24,8 +24,8 @@ import java.util.Properties;
import org.junit.Test;
import org.springframework.integration.annotation.Header;
import org.springframework.integration.annotation.Transformer;
import org.springframework.integration.handler.annotation.Header;
import org.springframework.integration.message.GenericMessage;
import org.springframework.integration.message.Message;
import org.springframework.integration.message.MessageBuilder;