public interface ServerConfig
Modifier and Type | Field and Description |
---|---|
static String |
UNDEFINED_HOSTNAME
The host name that is returned if there is no other defined
|
Modifier and Type | Method and Description |
---|---|
ClientConfig |
getClientConfig(String name)
Get a client config by name
|
EndpointConfig |
getEndpointConfig(String name)
Get an endpoint config by name
|
File |
getHomeDir() |
String |
getHostAlias(String virtualHost)
Get host alias which DNS can resolve
|
String |
getImplementationTitle() |
String |
getImplementationVersion() |
File |
getServerDataDir() |
File |
getServerTempDir() |
Integer |
getVirtualHostPort(String virtualHost,
boolean secure)
Get port for virtual host, if there are many ports found only return the first found
|
String |
getWebServiceHost() |
String |
getWebServicePathRewriteRule() |
int |
getWebServicePort() |
int |
getWebServiceSecurePort() |
String |
getWebServiceUriScheme() |
boolean |
isModifySOAPAddress() |
boolean |
isStatisticsEnabled() |
void |
registerClientConfig(ClientConfig config)
Register a client config in the server configuration; the new config will apply to runtime when the server config is started
or after a client config store reload.
|
void |
registerEndpointConfig(EndpointConfig config)
Register an endpoint config in the server configuration; the new config will apply to runtime when the server config is started
or after an endpoint config store reload.
|
void |
reloadClientConfigs()
Reloads the client config store
|
void |
reloadEndpointConfigs()
Reloads the endpoint config store
|
void |
setModifySOAPAddress(boolean flag) |
void |
setStatisticsEnabled(boolean flag) |
void |
setWebServiceHost(String host) |
void |
setWebServicePathRewriteRule(String path) |
void |
setWebServicePort(int port) |
void |
setWebServiceSecurePort(int port) |
void |
setWebServiceUriScheme(String scheme) |
void |
unregisterClientConfig(ClientConfig config)
Unregister a client config from the server configuration; the new config will be removed from
the collection returned to callers after next endpoint store reload.
|
void |
unregisterEndpointConfig(EndpointConfig config)
Unregister an endpoint config from the server configuration; the new config will be removed from
the collection returned to callers after next endpoint store reload.
|
static final String UNDEFINED_HOSTNAME
String getImplementationTitle()
String getImplementationVersion()
File getHomeDir()
File getServerTempDir()
File getServerDataDir()
String getWebServiceHost()
void setWebServiceHost(String host) throws UnknownHostException
UnknownHostException
int getWebServicePort()
void setWebServicePort(int port)
int getWebServiceSecurePort()
void setWebServiceSecurePort(int port)
String getWebServicePathRewriteRule()
void setWebServicePathRewriteRule(String path)
String getWebServiceUriScheme()
void setWebServiceUriScheme(String scheme)
boolean isModifySOAPAddress()
void setModifySOAPAddress(boolean flag)
boolean isStatisticsEnabled()
void setStatisticsEnabled(boolean flag)
void registerClientConfig(ClientConfig config)
config
- client config to registervoid unregisterClientConfig(ClientConfig config)
config
- client config to unregistervoid reloadClientConfigs()
ClientConfig getClientConfig(String name)
name
- name of client configvoid registerEndpointConfig(EndpointConfig config)
config
- endpoint config to registervoid unregisterEndpointConfig(EndpointConfig config)
config
- endpoint config to unregistervoid reloadEndpointConfigs()
EndpointConfig getEndpointConfig(String name)
name
- name of endpointInteger getVirtualHostPort(String virtualHost, boolean secure)
virtualHost
- virtual host namesecure
- if get the secure portCopyright © 2017 JBoss, by Red Hat. All rights reserved.