@Configuration @PropertySource(value="asdc.properties",ignoreResourceNotFound=true) @PropertySource(value="${container.classpath:}/WEB-INF/conf/asdc.properties",ignoreResourceNotFound=true) public class AsdcClientConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AsdcClientConfiguration.AsdcClientType
The Enum AsdcClientType.
|
Modifier and Type | Field and Description |
---|---|
String |
asdcClientAuth
The asdc client auth.
|
String |
asdcClientProtocol
The asdc client protocol.
|
Constructor and Description |
---|
AsdcClientConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getAsdcClientAuth()
Gets the asdc client auth.
|
String |
getAsdcClientHost()
Gets the asdc client host.
|
int |
getAsdcClientPort()
Gets the asdc client port.
|
String |
getAsdcClientProtocol()
Gets the asdc client protocol.
|
AsdcClientConfiguration.AsdcClientType |
getAsdcClientType()
Gets the asdc client type.
|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
@Value(value="${asdc.client.rest.auth}") public String asdcClientAuth
@Value(value="${asdc.client.rest.protocol}") public String asdcClientProtocol
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
public AsdcClientConfiguration.AsdcClientType getAsdcClientType()
public String getAsdcClientHost()
public int getAsdcClientPort()
public String getAsdcClientAuth()
public String getAsdcClientProtocol()
Copyright © 2017. All rights reserved.