File tree 24 files changed +453
-39
lines changed
spring-integration-core/src
main/java/org/springframework/integration
test/java/org/springframework/integration
24 files changed +453
-39
lines changed Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
39
40
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
40
41
@ Retention (RetentionPolicy .RUNTIME )
41
42
@ Documented
43
+ @ Repeatable (Aggregators .class )
42
44
public @interface Aggregator {
43
45
44
46
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link Aggregator} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface Aggregators {
36
+
37
+ Aggregator [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
45
46
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
46
47
@ Retention (RetentionPolicy .RUNTIME )
47
48
@ Documented
49
+ @ Repeatable (BridgeFromRepeatable .class )
48
50
public @interface BridgeFrom {
49
51
50
52
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link BridgeFrom} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface BridgeFromRepeatable {
36
+
37
+ BridgeFrom [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
50
51
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
51
52
@ Retention (RetentionPolicy .RUNTIME )
52
53
@ Documented
54
+ @ Repeatable (BridgeToRepeatable .class )
53
55
public @interface BridgeTo {
54
56
55
57
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link BridgeTo} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface BridgeToRepeatable {
36
+
37
+ BridgeTo [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
47
48
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
48
49
@ Retention (RetentionPolicy .RUNTIME )
49
50
@ Documented
51
+ @ Repeatable (Filters .class )
50
52
public @interface Filter {
51
53
52
54
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link Filter} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface Filters {
36
+
37
+ Filter [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
53
54
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
54
55
@ Retention (RetentionPolicy .RUNTIME )
55
56
@ Documented
57
+ @ Repeatable (InboundChannelAdapters .class )
56
58
public @interface InboundChannelAdapter {
57
59
58
60
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link InboundChannelAdapter} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface InboundChannelAdapters {
36
+
37
+ InboundChannelAdapter [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
50
51
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
51
52
@ Retention (RetentionPolicy .RUNTIME )
52
53
@ Documented
54
+ @ Repeatable (Routers .class )
53
55
public @interface Router {
54
56
55
57
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link Router} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface Routers {
36
+
37
+ Router [] value ();
38
+
39
+ }
Original file line number Diff line number Diff line change 18
18
19
19
import java .lang .annotation .Documented ;
20
20
import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Repeatable ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
48
49
@ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
49
50
@ Retention (RetentionPolicy .RUNTIME )
50
51
@ Documented
52
+ @ Repeatable (ServiceActivators .class )
51
53
public @interface ServiceActivator {
52
54
53
55
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org .springframework .integration .annotation ;
18
+
19
+ import java .lang .annotation .Documented ;
20
+ import java .lang .annotation .ElementType ;
21
+ import java .lang .annotation .Retention ;
22
+ import java .lang .annotation .RetentionPolicy ;
23
+ import java .lang .annotation .Target ;
24
+
25
+ /**
26
+ * The repeatable container for {@link ServiceActivator} annotations.
27
+ *
28
+ * @author Artem Bilan
29
+ *
30
+ * @since 6.0
31
+ */
32
+ @ Documented
33
+ @ Target ({ ElementType .METHOD , ElementType .ANNOTATION_TYPE })
34
+ @ Retention (RetentionPolicy .RUNTIME )
35
+ public @interface ServiceActivators {
36
+
37
+ ServiceActivator [] value ();
38
+
39
+ }
You can’t perform that action at this time.
0 commit comments