|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationService
This interface defines the methods to manage server configuration service.
| Method Summary | |
|---|---|
java.lang.String |
getActiveRealm()
Returns the active realm in the server. |
int |
getAdminPort()
Returns Administration Port. |
int |
getConnectionTimeout()
Returns the Timeout property of the connection in milliseconds. |
int |
getDashboardPort()
Returns the dashboard port of service configuration on the specified network address. |
java.util.Vector |
getHostAddresses()
Returns the active host addresses. |
java.lang.String |
getHostName()
Gets the active host name. |
int |
getMaxNumberOfConnection()
Returns the maximum number of connections. |
int |
getMaxNumberOfHandler()
Returns the maximum number of handlers. |
int |
getPort()
Returns the service port of service configuration on the specified network address. |
java.util.Vector |
getRealms()
Returns server realm names. |
boolean |
getServiceOnAll()
Returns whether to provide service on all network addresses. |
java.lang.String |
getServletPropertyFileName()
Returns the servlet property file name. |
int |
getSSLAdminPort()
Returns http admin server secure port. |
java.lang.String |
getSSLAlgorithm()
Returns keystore algorithm. |
int |
getSSLDashboardPort()
Returns dashboard SSL port. |
java.lang.String |
getSSLKeystoreFile()
Returns the keystore (database file) location. |
java.lang.String |
getSSLKeystorePassword()
Returns password which is used to protect the integrity of the keystore. |
java.lang.String |
getSSLKeystoreType()
Returns the qualifier which specifies the type of the keystore to be instantiated. |
int |
getSSLPort()
Returns http server SSL port. |
java.lang.String |
getSSLProtocol()
Returns the encryption/decryption protocol to be used on SSLSocket. |
boolean |
isEnableSSL()
Returns whether to enable SSL. |
void |
loadProperties()
Sets the properties of server. |
void |
setActiveRealm(java.lang.String activeRealm)
Sets the active realm in the server. |
void |
setAdminPort(int adminPort)
Sets Administration Port. |
boolean |
setConnectionTimeout(int connectionTimeout)
Sets the Timeout property of the connection in milliseconds. |
void |
setDashboardPort(int port)
Sets the dashboard port of service configuration on the specified network address. |
void |
setEnableSSL(boolean isEnable)
Sets http server with SSL enabled. |
void |
setHostName(java.lang.String hostName)
Sets active host name. |
boolean |
setMaxNumberOfConnection(int maxNumberOfConnection)
Sets the maximum number of connections. |
boolean |
setMaxNumberOfHandler(int maxNumberOfHandler)
Sets the maximum number of handlers. |
boolean |
setPort(int port)
Sets the service port of service configuration on the specified network address. |
void |
setServiceOnAll(boolean allAddresses)
Sets whether to provide service on all network addresses, return true if service is provided on all network addresses, else means network address at: *. |
boolean |
setServletPropertyFileName(java.lang.String servletPropertyFileName)
Sets the servlet property file name. |
void |
setSSLAdminPort(int adminPort)
Sets http admin server secure port. |
void |
setSSLAlgorithm(java.lang.String algorithm)
Sets keystore algorithm. |
void |
setSSLDashboardPort(int port)
Sets dashboard secure port. |
void |
setSSLKeystoreFile(java.lang.String keyStoreFile)
Sets http server keystore file name. |
void |
setSSLKeystorePassword(java.lang.String keyStorePassword)
Sets http server keystore file password. |
void |
setSSLKeystoreType(java.lang.String keyStoreType)
Sets http server keystore type. |
void |
setSSLPort(int port)
Sets http server secure port. |
void |
setSSLProtocol(java.lang.String protocol)
Sets the encryption/decryption protocol to be used on SSLSocket. |
| Method Detail |
|---|
boolean setPort(int port)
port - the service port.
int getPort()
void setAdminPort(int adminPort)
adminPort - Administration Port.int getAdminPort()
boolean setMaxNumberOfHandler(int maxNumberOfHandler)
maxNumberOfHandler - the maximum number of handlers.
int getMaxNumberOfHandler()
boolean setMaxNumberOfConnection(int maxNumberOfConnection)
maxNumberOfConnection - the maximum number of connections.
int getMaxNumberOfConnection()
boolean setConnectionTimeout(int connectionTimeout)
connectionTimeout - the Timeout property of the connection in milliseconds.
int getConnectionTimeout()
boolean setServletPropertyFileName(java.lang.String servletPropertyFileName)
servletPropertyFileName - the servlet property file name.
java.lang.String getServletPropertyFileName()
void setActiveRealm(java.lang.String activeRealm)
activeRealm - the active realm in the server.java.lang.String getActiveRealm()
boolean getServiceOnAll()
java.util.Vector getHostAddresses()
java.lang.String getHostName()
void setHostName(java.lang.String hostName)
hostName - host name of the server.void setServiceOnAll(boolean allAddresses)
allAddresses,whether - provide Service on All Network Addresses.java.util.Vector getRealms()
void loadProperties()
void setEnableSSL(boolean isEnable)
isEnable - if true, SSL is enabled; if false, disabled.boolean isEnableSSL()
int getSSLPort()
void setSSLPort(int port)
port - http server secure port.int getSSLAdminPort()
void setSSLAdminPort(int adminPort)
port - http admin server secure port.java.lang.String getSSLKeystoreFile()
void setSSLKeystoreFile(java.lang.String keyStoreFile)
keyStoreFile - http server keystore file name.java.lang.String getSSLKeystorePassword()
void setSSLKeystorePassword(java.lang.String keyStorePassword)
keyStorePassword - which is used to protect the integrity of the keystore.java.lang.String getSSLKeystoreType()
void setSSLKeystoreType(java.lang.String keyStoreType)
keyStoreType - which is used to specify the type of keystore. The valid values are JKS and PKCS12.java.lang.String getSSLAlgorithm()
void setSSLAlgorithm(java.lang.String algorithm)
algorithm - By default, it is the Sun implementation (SunX509). For IBM JVMs you should use the value IbmX509.java.lang.String getSSLProtocol()
void setSSLProtocol(java.lang.String protocol)
protocol - the valid values are SSL and TLS.void setDashboardPort(int port)
port - the dashboard port.int getDashboardPort()
int getSSLDashboardPort()
void setSSLDashboardPort(int port)
port - dashbaord secure port.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||