public class SpringXMLMessagingBuilder extends Object implements MessagingServiceBuilder
Constructor and Description |
---|
SpringXMLMessagingBuilder()
Default constructor to let the user use properties instead of constructor
|
SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment)
Constructor with the required environment dependency
|
SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment,
PropertiesBridge propertiesBridge)
Constructor with the required environment dependency
|
SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment,
PropertiesBridge propertiesBridge,
MessagingBuilder builder)
Constructor with the required environment dependency, optional bridge and
optional builder.
|
Modifier and Type | Method and Description |
---|---|
MessagingService |
build()
Build the object
|
void |
setBuilder(MessagingBuilder builder) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setPropertiesBridge(PropertiesBridge propertiesBridge) |
public SpringXMLMessagingBuilder()
public SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment)
environment
- the Spring environment required to read configuration
propertiespublic SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment, PropertiesBridge propertiesBridge)
environment
- the Spring environment required to read configuration
propertiespropertiesBridge
- the converter to use for getting configuration properties
valuespublic SpringXMLMessagingBuilder(org.springframework.core.env.Environment environment, PropertiesBridge propertiesBridge, MessagingBuilder builder)
environment
- the Spring environment required to read configuration
propertiespropertiesBridge
- the converter to use for getting configuration properties
valuesbuilder
- the specific builder to usepublic MessagingService build()
Builder
build
in interface Builder<MessagingService>
public void setEnvironment(org.springframework.core.env.Environment environment)
public void setPropertiesBridge(PropertiesBridge propertiesBridge)
public void setBuilder(MessagingBuilder builder)
Copyright © 2017. All rights reserved.