org.jboss.wsf.spi.management
Interface ServerConfig
public interface ServerConfig
Interface to container independent config- Since:
- 08-May-2006
- Author:
- [email protected], [email protected]
-
Field Summary
Fields Modifier and Type Field and Description static String
UNDEFINED_HOSTNAME
The host name that is returned if there is no other defined
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ClientConfig
getClientConfig(String name)
Get a client config by nameEndpointConfig
getEndpointConfig(String name)
Get an endpoint config by nameFile
getHomeDir()
String
getHostAlias(String virtualHost)
Get host alias which DNS can resolveString
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 foundString
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 storevoid
reloadEndpointConfigs()
Reloads the endpoint config storevoid
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.
-
Field Detail
UNDEFINED_HOSTNAME
static final String UNDEFINED_HOSTNAME
The host name that is returned if there is no other defined- See Also:
- Constant Field Values
Method Detail
getImplementationTitle
String getImplementationTitle()
getImplementationVersion
String getImplementationVersion()
getHomeDir
File getHomeDir()
getServerTempDir
File getServerTempDir()
getServerDataDir
File getServerDataDir()
getWebServiceHost
String getWebServiceHost()
setWebServiceHost
void setWebServiceHost(String host) throws UnknownHostException
- Throws:
-
UnknownHostException
getWebServicePort
int getWebServicePort()
setWebServicePort
void setWebServicePort(int port)
getWebServiceSecurePort
int getWebServiceSecurePort()
setWebServiceSecurePort
void setWebServiceSecurePort(int port)
getWebServicePathRewriteRule
String getWebServicePathRewriteRule()
setWebServicePathRewriteRule
void setWebServicePathRewriteRule(String path)
getWebServiceUriScheme
String getWebServiceUriScheme()
setWebServiceUriScheme
void setWebServiceUriScheme(String scheme)
isModifySOAPAddress
boolean isModifySOAPAddress()
setModifySOAPAddress
void setModifySOAPAddress(boolean flag)
isStatisticsEnabled
boolean isStatisticsEnabled()
setStatisticsEnabled
void setStatisticsEnabled(boolean flag)
registerClientConfig
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.- Parameters:
-
config
- client config to register
unregisterClientConfig
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.- Parameters:
-
config
- client config to unregister
reloadClientConfigs
void reloadClientConfigs()
Reloads the client config store
getClientConfig
ClientConfig getClientConfig(String name)
Get a client config by name- Parameters:
-
name
- name of client config - Returns:
- named client config
registerEndpointConfig
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.- Parameters:
-
config
- endpoint config to register
unregisterEndpointConfig
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.- Parameters:
-
config
- endpoint config to unregister
reloadEndpointConfigs
void reloadEndpointConfigs()
Reloads the endpoint config store
getEndpointConfig
EndpointConfig getEndpointConfig(String name)
Get an endpoint config by name- Parameters:
-
name
- name of endpoint - Returns:
- found named endpoint config
getVirtualHostPort
Integer getVirtualHostPort(String virtualHost, boolean secure)
Get port for virtual host, if there are many ports found only return the first found- Parameters:
-
virtualHost
- virtual host name -
secure
- if get the secure port - Returns:
- port value for virtual host
Copyright © 2020 JBoss, by Red Hat. All rights reserved.