INT-3326 Add GlobalChannelInterceptor Annotation

JIRA: https://jira.spring.io/browse/INT-3326

INT-3326: Add parent-child test

INT-3326: Fix `ClassCastException` for `GCII`

INT-3326: Rebase and Polishing

INT-3326: Fix `GCII` for `getBeanNamesForType`

INT-3326: Add `GlobalChannelInterceptor` annotation

JIRA: https://jira.spring.io/browse/INT-3326

INT-3326: Add parent-child test

INT-3326: Fix `ClassCastException` for `GCII`

INT-3326: Rebase and Polishing

INT-3326: Fix `GCII` for `getBeanNamesForType`

INT-3326 Polishing Doc, JavaDocs

Also fix a typo in the bean name for the CI processor.

INT-3326: Polishing

Doc Polishing
This commit is contained in:
Artem Bilan
2014-03-17 16:59:16 +02:00
committed by Gary Russell
parent 42a13c830d
commit 6d6bef58b2
12 changed files with 381 additions and 36 deletions

View File

@@ -359,6 +359,15 @@
for the default channel.
See <xref linkend="publisher-annotation"/> for more information.
</para>
<para>
The <classname>@GlobalChannelInterceptor</classname> annotation has been introduced to
mark <interfacename>ChannelInterceptor</interfacename> beans for global channel interception.
This annotation is an analogue of the <code>&lt;int:channel-interceptor&gt;</code> xml element
(see <xref linkend="global-channel-configuration-interceptors"/>). <code>@GlobalChannelInterceptor</code> annotations
can be placed at the class level (with a <classname>@Component</classname> stereotype annotation), or
on <classname>@Bean</classname> methods within <classname>@Configuration</classname> classes. In either case,
the bean <emphasis role="bold">must</emphasis> be a <interfacename>ChannelInterceptor</interfacename>.
</para>
</section>
</chapter>

View File

@@ -72,6 +72,14 @@
>Spring Boot - AutoConfigure</ulink>.
</para>
</section>
<section id="4.0-global-channel-interceptor">
<title>@GlobalChannelInterceptor</title>
<para>
As well as the <code>@EnableIntegration</code> annotation mentioned above,
the <code>@GlobalChannelInterceptor</code> annotation has bean introduced.
For more information, see <xref linkend="enable-integration"/>.
</para>
</section>
<section id="4.0-enable-publisher">
<title>@EnablePublisher</title>
<para>