Spring Integration

org.springframework.integration.ip.config
Class IpAdapterParserUtils

java.lang.Object
  extended by org.springframework.integration.ip.config.IpAdapterParserUtils

public abstract class IpAdapterParserUtils
extends java.lang.Object

Utility methods and constants for IP adapter parsers.

Since:
2.0
Author:
Gary Russell

Field Summary
static java.lang.String APPLY_SEQUENCE
           
static java.lang.String AUTO_STARTUP
           
static java.lang.String BACKLOG
           
static java.lang.String CLIENT_MODE
           
static java.lang.String INTERCEPTOR_FACTORY_CHAIN
           
static java.lang.String LOOKUP_HOST
           
static java.lang.String PHASE
           
static java.lang.String REMOTE_TIMEOUT
           
static java.lang.String REPLY_CHANNEL
           
static java.lang.String REPLY_TIMEOUT
           
static java.lang.String REQUEST_TIMEOUT
           
static java.lang.String RETRY_INTERVAL
           
static java.lang.String SCHEDULER
           
static java.lang.String SOCKET_FACTORY_SUPPORT
           
static java.lang.String SOCKET_SUPPORT
           
static java.lang.String SSL_CONTEXT_SUPPORT
           
 
Method Summary
static void addConstuctorValueIfAttributeDefined(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.w3c.dom.Element element, java.lang.String attributeName, boolean trueFalse)
          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 void addHostAndPortToConstructor(org.w3c.dom.Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
           
static void addPortToConstructor(org.w3c.dom.Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERCEPTOR_FACTORY_CHAIN

public static final java.lang.String INTERCEPTOR_FACTORY_CHAIN
See Also:
Constant Field Values

REQUEST_TIMEOUT

public static final java.lang.String REQUEST_TIMEOUT
See Also:
Constant Field Values

REMOTE_TIMEOUT

public static final java.lang.String REMOTE_TIMEOUT
See Also:
Constant Field Values

REPLY_TIMEOUT

public static final java.lang.String REPLY_TIMEOUT
See Also:
Constant Field Values

REPLY_CHANNEL

public static final java.lang.String REPLY_CHANNEL
See Also:
Constant Field Values

LOOKUP_HOST

public static final java.lang.String LOOKUP_HOST
See Also:
Constant Field Values

AUTO_STARTUP

public static final java.lang.String AUTO_STARTUP
See Also:
Constant Field Values

PHASE

public static final java.lang.String PHASE
See Also:
Constant Field Values

APPLY_SEQUENCE

public static final java.lang.String APPLY_SEQUENCE
See Also:
Constant Field Values

CLIENT_MODE

public static final java.lang.String CLIENT_MODE
See Also:
Constant Field Values

RETRY_INTERVAL

public static final java.lang.String RETRY_INTERVAL
See Also:
Constant Field Values

SCHEDULER

public static final java.lang.String SCHEDULER
See Also:
Constant Field Values

SSL_CONTEXT_SUPPORT

public static final java.lang.String SSL_CONTEXT_SUPPORT
See Also:
Constant Field Values

SOCKET_SUPPORT

public static final java.lang.String SOCKET_SUPPORT
See Also:
Constant Field Values

SOCKET_FACTORY_SUPPORT

public static final java.lang.String SOCKET_FACTORY_SUPPORT
See Also:
Constant Field Values

BACKLOG

public static final java.lang.String BACKLOG
See Also:
Constant Field Values
Method Detail

addConstuctorValueIfAttributeDefined

public static void addConstuctorValueIfAttributeDefined(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
                                                        org.w3c.dom.Element element,
                                                        java.lang.String attributeName,
                                                        boolean trueFalse)
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 configured
element - the XML element where the attribute should be defined
attributeName - the name of the attribute whose value will be used to populate the property

addHostAndPortToConstructor

public static void addHostAndPortToConstructor(org.w3c.dom.Element element,
                                               org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
                                               org.springframework.beans.factory.xml.ParserContext parserContext)
Parameters:
element -
builder -
parserContext -

addPortToConstructor

public static void addPortToConstructor(org.w3c.dom.Element element,
                                        org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
                                        org.springframework.beans.factory.xml.ParserContext parserContext)
Parameters:
element -
builder -
parserContext -

Spring Integration