|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationService
This interface defines methods to manage server configuration service.
| Method Summary | |
|---|---|
java.lang.String |
getActiveRealm()
Returns the active realm in the server. |
int |
getAdminPort()
Returns the Administration Port. |
int |
getConnectionTimeout()
Returns connection Timeout 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 server active host name. |
int |
getMaxNumberOfConnection()
Return the maximum number of connections. |
int |
getMaxNumberOfHandler()
Returns the maximum number of handlers. |
int |
getPort()
Returns the service port of the service configuration on the specified network address. |
java.util.Vector |
getRealms()
Returns the 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 the keystore algorithm. |
int |
getSSLDashboardPort()
Returns the dashboard SSL port. |
java.lang.String |
getSSLKeystoreFile()
Returns the keystore (database file) location. |
java.lang.String |
getSSLKeystorePassword()
Returns the password which is used to protect the integrity of the keystore. |
java.lang.String |
getSSLKeystoreType()
Returns the qualifier that 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 the server |
void |
setActiveRealm(java.lang.String activeRealm)
Sets the active realm in the server. |
void |
setAdminPort(int adminPort)
Sets the Administration Port. |
boolean |
setConnectionTimeout(int connectionTimeout)
Sets connection Timeout in milliseconds. |
void |
setDashboardPort(int port)
Sets the dashboard port of service configuration on the specified network address; |
void |
setEnableSSL(boolean isEnable)
Sets whether the http server enables SSL. |
void |
setHostName(java.lang.String hostName)
Sets the server 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 the service configuration on the specified network address. |
void |
setServiceOnAll(boolean allAddresses)
Sets whether to Provide Service on All Network Addresses. |
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 the keystore algorithm |
void |
setSSLDashboardPort(int port)
Sets the 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)
throws java.rmi.RemoteException
port - the service port.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setAdminPort(int adminPort)
throws java.rmi.RemoteException
adminPort - the Administration Port.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getAdminPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean setMaxNumberOfHandler(int maxNumberOfHandler)
throws java.rmi.RemoteException
maxNumberOfHandler - the maximum number of handlers.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getMaxNumberOfHandler()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean setMaxNumberOfConnection(int maxNumberOfConnection)
throws java.rmi.RemoteException
maxNumberOfConnection - the maximum number of connections
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getMaxNumberOfConnection()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean setConnectionTimeout(int connectionTimeout)
throws java.rmi.RemoteException
connectionTimeout - connection Timeout in milliseconds
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getConnectionTimeout()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean setServletPropertyFileName(java.lang.String servletPropertyFileName)
throws java.rmi.RemoteException
servletPropertyFileName - the servlet property file name.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getServletPropertyFileName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setActiveRealm(java.lang.String activeRealm)
throws java.rmi.RemoteException
activeRealm - the active realm in the server.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getActiveRealm()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean getServiceOnAll()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.util.Vector getHostAddresses()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getHostName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setHostName(java.lang.String hostName)
throws java.rmi.RemoteException
hostName - the hostName of the server.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setServiceOnAll(boolean allAddresses)
throws java.rmi.RemoteException
allAddresses - true means to provide service on All Network Addresses,
false means to provide service on Network Address at: *.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.util.Vector getRealms()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void loadProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setEnableSSL(boolean isEnable)
throws java.rmi.RemoteException
isEnable - true to enable SSL, false to disable it.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean isEnableSSL()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getSSLPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLPort(int port)
throws java.rmi.RemoteException
port - http server secure port
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getSSLAdminPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLAdminPort(int adminPort)
throws java.rmi.RemoteException
port - http admin server secure port
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getSSLKeystoreFile()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLKeystoreFile(java.lang.String keyStoreFile)
throws java.rmi.RemoteException
keyStoreFile - http server keystore file name.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getSSLKeystorePassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLKeystorePassword(java.lang.String keyStorePassword)
throws java.rmi.RemoteException
keyStorePassword - which is used to protect the integrity of the keystore.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getSSLKeystoreType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLKeystoreType(java.lang.String keyStoreType)
throws java.rmi.RemoteException
keyStoreType - which is used to specify the type of the keystore. The valid values are JKS and PKCS12.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getSSLAlgorithm()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLAlgorithm(java.lang.String algorithm)
throws java.rmi.RemoteException
algorithm - defaults to the Sun implementation (SunX509). For IBM JVMs you should use the value IbmX509.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getSSLProtocol()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLProtocol(java.lang.String protocol)
throws java.rmi.RemoteException
protocol - The valid values are SSL and TLS.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setDashboardPort(int port)
throws java.rmi.RemoteException
port - the dashboard port .
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getDashboardPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getSSLDashboardPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setSSLDashboardPort(int port)
throws java.rmi.RemoteException
port - the dashboard secure port
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||