Package org.jboss.wsf.spi.management
Interface ServerConfig
-
public interface ServerConfigInterface to container independent config- Since:
- 08-May-2006
- Author:
- Thomas.Diesler@jboss.org, alessio.soldano@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringUNDEFINED_HOSTNAMEThe host name that is returned if there is no other defined
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientConfiggetClientConfig(String name)Get a client config by nameEndpointConfiggetEndpointConfig(String name)Get an endpoint config by nameFilegetHomeDir()StringgetHostAlias(String virtualHost)Get host alias which DNS can resolveStringgetImplementationTitle()StringgetImplementationVersion()FilegetServerDataDir()FilegetServerTempDir()IntegergetVirtualHostPort(String virtualHost, boolean secure)Get port for virtual host, if there are many ports found only return the first foundStringgetWebServiceHost()StringgetWebServicePathRewriteRule()intgetWebServicePort()intgetWebServiceSecurePort()StringgetWebServiceUriScheme()booleanisModifySOAPAddress()booleanisStatisticsEnabled()voidregisterClientConfig(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.voidregisterEndpointConfig(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.voidreloadClientConfigs()Reloads the client config storevoidreloadEndpointConfigs()Reloads the endpoint config storevoidsetModifySOAPAddress(boolean flag)voidsetStatisticsEnabled(boolean flag)voidsetWebServiceHost(String host)voidsetWebServicePathRewriteRule(String path)voidsetWebServicePort(int port)voidsetWebServiceSecurePort(int port)voidsetWebServiceUriScheme(String scheme)voidunregisterClientConfig(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.voidunregisterEndpointConfig(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 namesecure- if get the secure port- Returns:
- port value for virtual host
-
-