From 09ff5ecc3eaf23656c46ada8747eddc7e26afdcc Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Sun, 25 Apr 2010 00:10:14 +0000 Subject: [PATCH] INT-1090 Adding tooling annotations to support auto-completion of method names. --- .../config/xml/spring-integration-2.0.xsd | 329 +++++++++++------- 1 file changed, 206 insertions(+), 123 deletions(-) diff --git a/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd b/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd index 7f9a3a0878..fd4a14451b 100644 --- a/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd +++ b/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd @@ -27,11 +27,9 @@ - Defines the ApplicationEventMulticaster to use for this - ApplicationContext. - The "task-executor" reference is optional. If not provided, an - instance of - ThreadPoolTaskExecutor will be created by default. + Defines the ApplicationEventMulticaster to use for this ApplicationContext. + The "task-executor" reference is optional. If not provided, an instance of + ThreadPoolTaskExecutor will be created by default. @@ -84,13 +82,8 @@ - Defines a queue for messages. If 'capacity' is - specified, it will be a - bounded queue. - - A custom Queue implementation - can be - injected using the 'ref' attribute. + Defines a queue for messages. If 'capacity' is specified, it will be a bounded queue. + A custom Queue implementation can be injected using the 'ref' attribute. @@ -108,8 +101,7 @@ - Defines a queue with priority-ordering for message - reception. + Defines a queue with priority-ordering for message reception. @@ -119,9 +111,7 @@ - Defines a rendezvous queue where a sender will - block until the receiver - arrives or vice-versa. + Defines a rendezvous queue where a sender will block until the receiver arrives or vice-versa. @@ -196,8 +186,7 @@ - Defines a Publish-Subscribe channel that - broadcasts messages to its subscribers. + Defines a Publish-Subscribe channel that broadcasts messages to its subscribers. @@ -322,7 +311,15 @@ - + + + + + + + + + @@ -398,9 +395,7 @@ - Defines a Channel Adapter that receives from a - MessageSource and sends to a - MessageChannel. + Defines a Channel Adapter that receives from a MessageSource and sends to a MessageChannel. @@ -408,8 +403,8 @@ - Defines a Channel Adapter that receives from a MessageChannel and sends to - a method-invoking MessageHandler. + Defines a Channel Adapter that receives from a MessageChannel and passes to + a method-invoking MessageHandler. @@ -418,8 +413,8 @@ - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. @@ -474,7 +469,15 @@ - + + + + + + + + + @@ -503,17 +506,12 @@ - Defines an endpoint for exposing any bean - reference as a service that - receives request Messages from an - 'input-channel' and may send reply - Messages to an 'output-channel'. - The 'ref' may point to an instance - that has either a single public - method or a method with the - @ServiceActivator annotation. Otherwise, - the 'method' attribute - should be provided along with 'ref'. + Defines an endpoint for exposing any bean reference as a service that + receives request Messages from an 'input-channel' and may send reply + Messages to an 'output-channel'. The 'ref' may point to an instance + that has either a single public method or a method with the + @ServiceActivator annotation. Otherwise, the 'method' attribute + should be provided along with 'ref'. @@ -521,7 +519,7 @@ - Base type for Message-handling endpoints. + Base type for Message-handling endpoints. @@ -543,7 +541,15 @@ - + + + + + + + + + @@ -551,11 +557,8 @@ - Base type for Message Endpoint elements that - accept Messages from an - input-channel - and also may produce reply - Messages to be sent to an output-channel. + Base type for Message Endpoint elements that accept Messages from an + input-channel and also may produce reply Messages to be sent to an output-channel. @@ -625,7 +628,15 @@ - + + + + + + + + + @@ -926,15 +937,30 @@ referred bean doesn't need to implement the MessageSelector interface. - - + + + + + + + + + + + + + + + + + + - Defines a HeaderEnricher endpoint for values - defined in the MessageHeaders. + Defines a HeaderEnricher endpoint for values defined in the MessageHeader. @@ -1041,6 +1067,9 @@ Reference to be associated with the given header name. + + + @@ -1048,6 +1077,11 @@ Name of a method to be invoked on the referenced target object. + + + + + @@ -1055,7 +1089,7 @@ - Defines a Transformer. + Defines a Transformer. @@ -1063,9 +1097,8 @@ - Defines a Transformer that converts any Object - payload to a String by - invoking its toString() method. + Defines a Transformer that converts any Object payload to a String by + invoking its toString() method. @@ -1084,9 +1117,8 @@ - Defines a Transformer that serializes any Object - payload that implements - Serializable into a byte array. + Defines a Transformer that serializes any Object payload that implements + Serializable into a byte array. @@ -1105,9 +1137,7 @@ - Defines a Transformer that deserializes a byte - array payload into an - Object. + Defines a Transformer that deserializes a byte array payload into an Object. @@ -1164,7 +1194,16 @@ - + + + + + + + + + @@ -1192,7 +1231,16 @@ - + + + + + + + + + @@ -1217,7 +1265,16 @@ - + + + + + + + + + @@ -1249,7 +1306,15 @@ - + + + + + + + + + @@ -1358,8 +1423,15 @@ - + + + + + + + + + @@ -1369,8 +1441,15 @@ - + + + + + + + + + @@ -1381,10 +1460,8 @@ - - + + @@ -1396,7 +1473,7 @@ - Defines a resequencing message endpoint. + Defines a resequencing message endpoint. @@ -1410,8 +1487,15 @@ - + + + + + + + + + @@ -1423,10 +1507,8 @@ - - + + @@ -1434,18 +1516,6 @@ - - - - - Defines a completion strategy. - - - - - - - @@ -1496,8 +1566,7 @@ - + + type="org.springframework.transaction.PlatformTransactionManager" /> @@ -1553,8 +1622,7 @@ ]]> - + - @@ -1585,10 +1653,10 @@ - + Defines a MessagePublishingInterceptor which allows you to generate messages as a by-product of method invocations on Spring configured components. - + @@ -1597,7 +1665,16 @@ - + + + + + + + + + @@ -1607,44 +1684,50 @@ + + + + + - + - Allows you to define channel interceptors to be applied globally + Allows you to define channel interceptors to be applied globally. - - - - - - - - + + + + + + + + - [REQUIRED] Channel name(s) or patterns. To specify more then one channel use ','  - (e.g., channel-name-pattern="input*, foo, bar") + [REQUIRED] Channel name(s) or patterns. To specify more than one channel use ','  + (e.g., channel-name-pattern="input*, foo, bar") - - + + - [OPTIONAL] Specifies the order in which these interceptors will be - added to the existing channel interceptors (if any). - Negative value (e.g., -2) will signify AFTER, but BEFORE the - the chain that might specify -1 (if any). Positive value (e.g., 2) - will signify BEFORE, but AFTER the chain that might specify 1 (if any). + [OPTIONAL] Specifies the order in which these interceptors will be + added to the existing channel interceptors (if any). + Negative value (e.g., -2) will signify AFTER, but BEFORE the + the chain that might specify -1 (if any). Positive value (e.g., 2) + will signify BEFORE, but AFTER the chain that might specify 1 (if any). - - + + - + \ No newline at end of file