Class IpAdapterParserUtils
java.lang.Object
org.springframework.integration.ip.config.IpAdapterParserUtils
public abstract class IpAdapterParserUtils extends Object
Utility methods and constants for IP adapter parsers.
- Since:
- 2.0
- Author:
- Gary Russell, Marcin Pilaczynski, Artem Bilan
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLY_SEQUENCEstatic StringBACKLOGstatic StringCLIENT_MODEstatic StringCONNECT_TIMEOUTstatic StringINTERCEPTOR_FACTORY_CHAINstatic StringLOOKUP_HOSTstatic StringMAPPERstatic StringNET_CONNECTION_SUPPORTstatic StringNIO_CONNECTION_SUPPORTstatic StringREAD_DELAYstatic StringREMOTE_TIMEOUTstatic StringREMOTE_TIMEOUT_EXPRESSIONstatic StringREPLY_CHANNELstatic StringREPLY_TIMEOUTstatic StringREQUEST_TIMEOUTstatic StringRETRY_INTERVALstatic StringSCHEDULERstatic StringSOCKET_FACTORY_SUPPORTstatic StringSOCKET_SUPPORTstatic StringSSL_CONTEXT_SUPPORTstatic StringSSL_HANDSHAKE_TIMEOUTstatic StringUDP_SOCKET_CUSTOMIZER -
Method Summary
Modifier and Type Method Description static voidaddConstructorValueIfAttributeDefined(BeanDefinitionBuilder builder, Element element, String attributeName)Adds a constructor-arg to the provided bean definition builder with the value of the attribute whose name is provided if that attribute is defined in the given element.static voidaddDestinationConfigToConstructor(Element element, BeanDefinitionBuilder builder, ParserContext parserContext)Adds destination configuration to constructor.
-
Field Details
-
INTERCEPTOR_FACTORY_CHAIN
- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT
- See Also:
- Constant Field Values
-
REMOTE_TIMEOUT
- See Also:
- Constant Field Values
-
REMOTE_TIMEOUT_EXPRESSION
- See Also:
- Constant Field Values
-
REPLY_TIMEOUT
- See Also:
- Constant Field Values
-
REPLY_CHANNEL
- See Also:
- Constant Field Values
-
LOOKUP_HOST
- See Also:
- Constant Field Values
-
APPLY_SEQUENCE
- See Also:
- Constant Field Values
-
CLIENT_MODE
- See Also:
- Constant Field Values
-
RETRY_INTERVAL
- See Also:
- Constant Field Values
-
SCHEDULER
- See Also:
- Constant Field Values
-
SSL_CONTEXT_SUPPORT
- See Also:
- Constant Field Values
-
SOCKET_SUPPORT
- See Also:
- Constant Field Values
-
NIO_CONNECTION_SUPPORT
- See Also:
- Constant Field Values
-
NET_CONNECTION_SUPPORT
- See Also:
- Constant Field Values
-
SOCKET_FACTORY_SUPPORT
- See Also:
- Constant Field Values
-
BACKLOG
- See Also:
- Constant Field Values
-
MAPPER
- See Also:
- Constant Field Values
-
READ_DELAY
- See Also:
- Constant Field Values
-
SSL_HANDSHAKE_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
UDP_SOCKET_CUSTOMIZER
- See Also:
- Constant Field Values
-
-
Method Details
-
addConstructorValueIfAttributeDefined
public static void addConstructorValueIfAttributeDefined(BeanDefinitionBuilder builder, Element element, String attributeName)Adds a constructor-arg to the provided bean definition builder with the value of the attribute whose name is provided if that attribute is defined in the given element.- Parameters:
builder- the bean definition builder to be configuredelement- the XML element where the attribute should be definedattributeName- the name of the attribute whose value will be
-
addDestinationConfigToConstructor
public static void addDestinationConfigToConstructor(Element element, BeanDefinitionBuilder builder, ParserContext parserContext)Adds destination configuration to constructor.- Parameters:
element- The element.builder- The builder.parserContext- The parser context.
-