public class SessionManagerPropertiesImpl extends java.lang.Object implements SessionManagerProperties, SessionPoolProperties, SessionProperties
| Constructor and Description |
|---|
SessionManagerPropertiesImpl()
Instantiate a SessionManagerProperties implementation using the default properties file location.
|
SessionManagerPropertiesImpl(java.lang.String propertiesFile)
Create a SessionManagerPropertiesImpl using the specified properties file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enforceStrictValidation()
Enforce strict validation of incoming and outgoing service elements.
|
long |
getAcquireTimeout()
The maximum duration of time (specified in milliseconds) to wait when
acquiring a session.
|
java.lang.String |
getClientID()
The client's username (clID in EPP terminology) as used in the EPP login
command.
|
java.lang.String |
getClientPW()
The client's password (pw in EPP terminology) as used in the EPP login
command.
|
long |
getClientTimeout()
Get the session idle time (in milliseconds) after which the keep-alive
feature will allow sessions in the pool to be dropped (will no longer
poll).
|
int |
getCommandLimit()
The maximum number of commands of any type to process in a single
session over a short period of time (default: infinity ).
|
int |
getCommandLimit(CommandType type)
The maximum number of commands of the given type to process in a single
session over a short period of time (default: infinity).
|
long |
getCommandLimitInterval()
The time interval, in milliseconds, over which a command is considered
recent for the purposes of session-specific command limiting (default: 1
second = 1000 ms).
|
java.lang.String[] |
getExtURIs()
Request that the extensions specified by these URIs be available during
the Session configured from these properties.
|
java.lang.String |
getHostname()
The hostname of the EPP server.
|
java.lang.String |
getKeyStoreFilename()
The location of the KeyStore file from which private key and public
certificate data will be read in order to establish a connection with
the EPP server.
|
java.lang.String |
getKeyStorePassphrase()
The passphrase used to protect the KeyStore identified by getKeyStoreFilename.
|
java.lang.String |
getKeyStoreType()
The type of the KeyStore.
|
java.lang.String |
getLanguage()
Request that the EPP server send any language-configurable messages in
this language.
|
int |
getMaximumPoolSize()
Get the maximum number of sessions allowed in the pool.
|
java.lang.String[] |
getObjURIs()
Request that the objects specified by these URIs be managable during the
Session configured from these properties.
|
int |
getPort()
The port on which the EPP server listens (standard port is 700).
|
long |
getServerTimeout()
Get the configured time interval (in milliseconds) after which the EPP
server will close idle connections.
|
SessionPoolProperties |
getSessionPoolProperties() |
SessionProperties |
getSessionProperties() |
int |
getSocketTimeout()
The maximum length of time (specified in milliseconds) to wait for data
to become available on the underlying socket when reading.
|
java.lang.String |
getSSLAlgorithm()
The SSL key manager algorithm to use.
|
java.lang.String |
getSSLVersion()
The SSL version to use.
|
java.lang.String |
getTrustStoreFilename()
The location of the KeyStore file from which Certification Authority
data will be read in order to verify the authenticity of the key
in the accompanying user keystore.
|
java.lang.String |
getTrustStorePassphrase()
The passphrase used to protect the KeyStore identified by getTrustStoreFilename.
|
java.lang.String |
getVersion()
The protocol version of EPP to be used to communicate with the EPP
server.
|
long |
getWaitTimeout()
The maximum time for configured objects to spend in wait() for any
relevant condition, such as session acquisition or release.
|
boolean |
needOutputNamespacePrefixInXml()
Enforce XML output to include namespace prefix.
|
void |
setClientID(java.lang.String id)
Set the client's username (clID in EPP terminology) to be returned by
further calls to getClientID.
|
void |
setClientPW(java.lang.String password)
Set the password to be returned by further calls to getClientPW.
|
public SessionManagerPropertiesImpl()
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic SessionManagerPropertiesImpl(java.lang.String propertiesFile)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic SessionPoolProperties getSessionPoolProperties()
getSessionPoolProperties in interface SessionManagerPropertiespublic SessionProperties getSessionProperties()
getSessionProperties in interface SessionManagerPropertiespublic java.lang.String getHostname()
SessionPropertiesgetHostname in interface SessionPropertiespublic int getPort()
SessionPropertiesgetPort in interface SessionPropertiespublic java.lang.String getClientID()
SessionPropertiesgetClientID in interface SessionPropertiespublic java.lang.String getClientPW()
SessionPropertiesgetClientPW in interface SessionPropertiespublic java.lang.String getVersion()
SessionPropertiesgetVersion in interface SessionPropertiespublic java.lang.String getLanguage()
SessionPropertiesgetLanguage in interface SessionPropertiespublic java.lang.String[] getObjURIs()
SessionPropertiesgetObjURIs in interface SessionPropertiespublic java.lang.String[] getExtURIs()
SessionPropertiesgetExtURIs in interface SessionPropertiespublic java.lang.String getKeyStoreFilename()
SessionPropertiesgetKeyStoreFilename in interface SessionPropertiespublic java.lang.String getKeyStorePassphrase()
SessionPropertiesgetKeyStorePassphrase in interface SessionPropertiespublic java.lang.String getKeyStoreType()
SessionPropertiesgetKeyStoreType in interface SessionPropertiespublic java.lang.String getTrustStoreFilename()
SessionPropertiesgetTrustStoreFilename in interface SessionPropertiespublic java.lang.String getTrustStorePassphrase()
SessionPropertiesgetTrustStorePassphrase in interface SessionPropertiespublic java.lang.String getSSLVersion()
SessionPropertiesgetSSLVersion in interface SessionPropertiespublic java.lang.String getSSLAlgorithm()
SessionPropertiesgetSSLAlgorithm in interface SessionPropertiespublic int getCommandLimit()
SessionPropertiesgetCommandLimit in interface SessionPropertiespublic int getCommandLimit(CommandType type)
SessionPropertiesgetCommandLimit in interface SessionPropertiespublic long getCommandLimitInterval()
SessionPropertiesgetCommandLimitInterval in interface SessionPropertiespublic int getMaximumPoolSize()
SessionPoolPropertiesgetMaximumPoolSize in interface SessionPoolPropertiespublic long getWaitTimeout()
SessionPoolPropertiesgetWaitTimeout in interface SessionPoolPropertiespublic long getServerTimeout()
SessionPoolPropertiesgetServerTimeout in interface SessionPoolPropertiespublic long getClientTimeout()
SessionPoolPropertiesgetClientTimeout in interface SessionPoolPropertiespublic long getAcquireTimeout()
SessionPropertiesgetAcquireTimeout in interface SessionPropertiespublic int getSocketTimeout()
SessionPropertiesgetSocketTimeout in interface SessionPropertiespublic boolean enforceStrictValidation()
SessionPropertiesenforceStrictValidation in interface SessionPropertiespublic boolean needOutputNamespacePrefixInXml()
SessionPropertiesA namespace prefix is considered in-scope on the declaration element as well as on any of its descendant elements. Once declared, the prefix can be used in front of any element or attribute name separated by a colon (such as s:student).
This complete name including the prefix is the lexical form of a qualified name (QName):
QName = <prefix>:<local name>
If not configured, the default value will be false.
needOutputNamespacePrefixInXml in interface SessionPropertiespublic void setClientPW(java.lang.String password)
SessionPropertiessetClientPW in interface SessionPropertiespublic void setClientID(java.lang.String id)
SessionPropertiessetClientID in interface SessionProperties