|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationService
This interface define methods to manage server configuration service.
| Method Summary | |
|---|---|
java.lang.String |
getActiveRealm()
Return active realm in the serverthrows RemoteException; |
int |
getAdminPort()
Return Administration Port. |
int |
getConnectionTimeout()
Return connection Timeout in millsecondsthrows RemoteException; |
java.util.Vector |
getHostAddresses()
Return active host addressesthrows RemoteException; |
java.lang.String |
getHostName()
get active host namethrows RemoteException; |
int |
getMaxNumberOfConnection()
Return the maximum number of connectionsthrows RemoteException; |
int |
getMaxNumberOfHandler()
Return the maximum number of handlers. |
int |
getPort()
Returns the service port of service configuration on specified network addressthrows RemoteException; |
java.util.Vector |
getRealms()
Return Realmthrows RemoteException; |
boolean |
getServiceOnAll()
Return if Provide Service on All Network Addresses throws RemoteException; |
java.lang.String |
getServletPropertyFileName()
Return the servlet property file namethrows RemoteException; |
int |
getSSLAdminPort()
return http admin server secure port. |
java.lang.String |
getSSLAlgorithm()
return keystore algorithm. |
java.lang.String |
getSSLKeystoreFile()
return the keystore (database file) location. |
java.lang.String |
getSSLKeystorePassword()
return password which is used to protect the integrity of the keystore. |
java.lang.String |
getSSLKeystoreType()
return the qualifier specifies the type of keystore to be instantiated. |
int |
getSSLPort()
return http server SSL port. |
java.lang.String |
getSSLProtocol()
return the encryption/decryption protocol to be used on SSLSocket. |
boolean |
isEnableSSL()
return if enable SSL. |
void |
loadProperties()
set the properties of server |
void |
setActiveRealm(java.lang.String activeRealm)
Set active realm in the serverthrows RemoteException; |
void |
setAdminPort(int adminPort)
Set Administration Port. |
boolean |
setConnectionTimeout(int connectionTimeout)
Set connection Timeout in millsecondsthrows RemoteException; |
void |
setEnableSSL(boolean isEnable)
Set http server enable SSL. |
void |
setHostName(java.lang.String hostName)
set active host namethrows RemoteException; |
boolean |
setMaxNumberOfConnection(int maxNumberOfConnection)
Set the maximum number of connectionsthrows RemoteException; |
boolean |
setMaxNumberOfHandler(int maxNumberOfHandler)
Set the maximum number of handlers. |
boolean |
setPort(int port)
Set the service port of service configuration on specified network address; |
void |
setServiceOnAll(boolean allAddresses)
Set if Provide Service on All Network Addresses throws RemoteException; true if Provide Service on All Network Addresses , else means Network Address at: *. |
boolean |
setServletPropertyFileName(java.lang.String servletPropertyFileName)
Set the servlet property file namethrows RemoteException; |
void |
setSSLAdminPort(int adminPort)
Set http admin server secure port |
void |
setSSLAlgorithm(java.lang.String algorithm)
Set keystore algorithm |
void |
setSSLKeystoreFile(java.lang.String keyStoreFile)
set http server keystore file name |
void |
setSSLKeystorePassword(java.lang.String keyStorePassword)
set http server keystore file password |
void |
setSSLKeystoreType(java.lang.String keyStoreType)
set http server keystore type. |
void |
setSSLPort(int port)
set http server secure port |
void |
setSSLProtocol(java.lang.String protocol)
Set the encryption/decryption protocol to be used on SSLSocket. |
| Method Detail |
|---|
boolean setPort(int port)
throws java.rmi.RemoteException
port - the service port code.
java.rmi.RemoteException - will be thrown if error occurs.
int getPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setAdminPort(int adminPort)
throws java.rmi.RemoteException
adminPort - Administration Port.
java.rmi.RemoteException - will be thrown if error occurs.
int getAdminPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean setMaxNumberOfHandler(int maxNumberOfHandler)
throws java.rmi.RemoteException
maxNumberOfHandler - the maximum number of handlers.
java.rmi.RemoteException - will be thrown if error occurs.
int getMaxNumberOfHandler()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean setMaxNumberOfConnection(int maxNumberOfConnection)
throws java.rmi.RemoteException
maxNumberOfConnection - the maximum number of connectionsthrows RemoteException;
java.rmi.RemoteException - will be thrown if error occurs.
int getMaxNumberOfConnection()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean setConnectionTimeout(int connectionTimeout)
throws java.rmi.RemoteException
connectionTimeout - connection Timeout in millsecondsthrows RemoteException;
java.rmi.RemoteException - will be thrown if error occurs.
int getConnectionTimeout()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean setServletPropertyFileName(java.lang.String servletPropertyFileName)
throws java.rmi.RemoteException
servletPropertyFileName - the servlet property filename.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getServletPropertyFileName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setActiveRealm(java.lang.String activeRealm)
throws java.rmi.RemoteException
activeRealm - active realm in the server.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getActiveRealm()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean getServiceOnAll()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getHostAddresses()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getHostName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setHostName(java.lang.String hostName)
throws java.rmi.RemoteException
hostName - hostName of the server.
java.rmi.RemoteException - will be thrown if error occurs.
void setServiceOnAll(boolean allAddresses)
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getRealms()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void loadProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setEnableSSL(boolean isEnable)
throws java.rmi.RemoteException
isEnable - true enable SSL, false disable it.
java.rmi.RemoteException - will be thrown if error occurs.
boolean isEnableSSL()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
int getSSLPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setSSLPort(int port)
throws java.rmi.RemoteException
port - http server secure port
java.rmi.RemoteException - will be thrown if error occurs.
int getSSLAdminPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setSSLAdminPort(int adminPort)
throws java.rmi.RemoteException
port - http admin server secure port
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getSSLKeystoreFile()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setSSLKeystoreFile(java.lang.String keyStoreFile)
throws java.rmi.RemoteException
keyStoreFile - http server keystore file name.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getSSLKeystorePassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
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 - will be thrown if error occurs.
void setSSLKeystoreType(java.lang.String keyStoreType)
throws java.rmi.RemoteException
keyStoreType - which is used to specifies the type of keystore. The valid values are JKS and PKCS12.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getSSLAlgorithm()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
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 - will be thrown if error occurs.
java.lang.String getSSLProtocol()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setSSLProtocol(java.lang.String protocol)
throws java.rmi.RemoteException
protocol - The valid values are SSL and TLS.
java.rmi.RemoteException - will be thrown if error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||