public class SnwWsServer
extends java.lang.Object
implements com.isti.trinetwatch.common.SnwGUIServicesProvider, com.isti.trinetwatch.ws.common.SnwWsConstants
KEYSTORE_TYPE, NAME, PATH, SNW_WS_SERVER_BASEURI_DEFAULT, SNW_WS_SERVER_BASEURI_PROP_KEY, SNW_WS_SERVER_KEYSTORE_FILENAME_DEFAULT, SNW_WS_SERVER_KEYSTORE_FILENAME_KEY, SNW_WS_SERVER_KEYSTORE_PASSWORD_DEFAULT, SNW_WS_SERVER_KEYSTORE_PASSWORD_KEY, SNW_WS_SERVER_PORT_PROP_KEY, SNW_WS_SERVICES_PROVIDER_CLASSNAME_PROP_KEY, SNW_WS_SERVICES_RESOURCE_CLASSNAME_PROP_KEY
Constructor and Description |
---|
SnwWsServer(Server server,
java.net.URI baseUri,
java.lang.String keyStoreFile,
java.lang.String keyStorePW)
Create the SNW Web Services server.
|
Modifier and Type | Method and Description |
---|---|
com.isti.trinetwatch.common.SnwGUIServices |
getSnwGUIServices()
Get the SNW GUI Services.
|
void |
init()
Initializes the SNW GUI Services.
|
void |
start()
Start the SNW GUI Services.
|
void |
stop()
Stop the SNW GUI Services.
|
public SnwWsServer(Server server, java.net.URI baseUri, java.lang.String keyStoreFile, java.lang.String keyStorePW)
server
- the server.baseUri
- the base URI.keyStoreFile
- the key store file or null or empty for the default.keyStorePW
- the key store password or null or empty for the default.public com.isti.trinetwatch.common.SnwGUIServices getSnwGUIServices()
com.isti.trinetwatch.common.SnwGUIServicesProvider
getSnwGUIServices
in interface com.isti.trinetwatch.common.SnwGUIServicesProvider
#run()
public void init()
com.isti.trinetwatch.common.SnwGUIServicesProvider
init
in interface com.isti.trinetwatch.common.SnwGUIServicesProvider
public void start()
com.isti.trinetwatch.common.SnwGUIServicesProvider
start
in interface com.isti.trinetwatch.common.SnwGUIServicesProvider
public void stop()
com.isti.trinetwatch.common.SnwGUIServicesProvider
stop
in interface com.isti.trinetwatch.common.SnwGUIServicesProvider