org.springframework.integration.ip.config
Class IpAdapterParserUtils
java.lang.Object
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
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 bean definition 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 |
addOutboundTcpAttributes(org.w3c.dom.Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IpAdapterParserUtils
public IpAdapterParserUtils()
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 bean definition with the value
of the attribute whose name is provided if that attribute is
defined in the given element.
- Parameters:
beanDefinition
- the bean definition to be configuredelement
- the XML element where the attribute should be definedattributeName
- 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
-
addOutboundTcpAttributes
public static void addOutboundTcpAttributes(org.w3c.dom.Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Parameters:
element
- builder
-