|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.arcsde.ConnectionConfig
Represents a set of ArcSDE database connection parameters. Instances of this
class are used to validate ArcSDE connection params as in
DataSourceFactory.canProcess(java.util.Map)
and serves as keys
for maintaining single SdeConnectionPool
's by each set of
connection properties
Field Summary | |
static java.lang.String |
CONNECTION_TIMEOUT_PARAM
DOCUMENT ME! |
static java.lang.String |
DBTYPE_PARAM
must equals to "arcsde" |
static java.lang.String |
DBTYPE_PARAM_VALUE
constant to pass "arcsde" as DBTYPE_PARAM |
static java.lang.String |
INSTANCE_NAME_PARAM
ArcSDE databse name parameter name |
static java.lang.String |
MAX_CONNECTIONS_PARAM
DOCUMENT ME! |
static java.lang.String |
MIN_CONNECTIONS_PARAM
DOCUMENT ME! |
static java.lang.String |
NAMESPACE_PARAM
namespace URI assigned to datastore instance |
static java.lang.String |
PASSWORD_PARAM
ArcSDE database user password parameter name |
static java.lang.String |
PORT_NUMBER_PARAM
ArcSDE server port parameter name |
static java.lang.String |
SERVER_NAME_PARAM
ArcSDE server parameter name |
protected static java.lang.String |
TABLE_NAME_PARAM
parameter name who's value represents the feature class for wich an SdeDataSource will be created |
static java.lang.String |
USER_NAME_PARAM
ArcSDE database user name parameter name |
Constructor Summary | |
ConnectionConfig(java.util.Map params)
DOCUMENT ME! |
|
ConnectionConfig(java.lang.String dbType,
java.lang.String serverName,
java.lang.String portNumber,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String userPassword)
DOCUMENT ME! |
Method Summary | |
boolean |
equals(java.lang.Object o)
checks for equality over another ConnectionConfig , taking
in count the values of database name, user name, and port number. |
java.lang.Integer |
getConnTimeOut()
DOCUMENT ME! |
java.lang.String |
getDatabaseName()
DOCUMENT ME! |
java.lang.Integer |
getMaxConnections()
DOCUMENT ME! |
java.lang.Integer |
getMinConnections()
DOCUMENT ME! |
java.net.URI |
getNamespaceUri()
|
java.lang.Integer |
getPortNumber()
DOCUMENT ME! |
java.lang.String |
getServerName()
DOCUMENT ME! |
java.lang.String |
getUserName()
DOCUMENT ME! |
java.lang.String |
getUserPassword()
accessor method for retrieving the user password of the ArcSDE connection properties holded here |
int |
hashCode()
DOCUMENT ME! |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DBTYPE_PARAM
"arcsde"
public static final java.lang.String DBTYPE_PARAM_VALUE
public static final java.lang.String NAMESPACE_PARAM
public static final java.lang.String SERVER_NAME_PARAM
public static final java.lang.String PORT_NUMBER_PARAM
public static final java.lang.String INSTANCE_NAME_PARAM
public static final java.lang.String USER_NAME_PARAM
public static final java.lang.String PASSWORD_PARAM
public static final java.lang.String MIN_CONNECTIONS_PARAM
public static final java.lang.String MAX_CONNECTIONS_PARAM
public static final java.lang.String CONNECTION_TIMEOUT_PARAM
protected static final java.lang.String TABLE_NAME_PARAM
SdeDataSource
will be created
Constructor Detail |
public ConnectionConfig(java.util.Map params) throws java.lang.NullPointerException, java.lang.IllegalArgumentException
params
-
java.lang.NullPointerException
- if at least one mandatory parameter is
java.lang.IllegalArgumentException
- if at least one mandatory parameter is present but has no a
"valid" value.public ConnectionConfig(java.lang.String dbType, java.lang.String serverName, java.lang.String portNumber, java.lang.String databaseName, java.lang.String userName, java.lang.String userPassword) throws java.lang.NullPointerException, java.lang.IllegalArgumentException
dbType
- serverName
- DOCUMENT ME!portNumber
- DOCUMENT ME!databaseName
- DOCUMENT ME!userName
- DOCUMENT ME!userPassword
- DOCUMENT ME!
java.lang.NullPointerException
java.lang.IllegalArgumentException
Method Detail |
public java.net.URI getNamespaceUri()
public java.lang.String getDatabaseName()
public java.lang.Integer getPortNumber()
public java.lang.String getServerName()
public java.lang.String getUserName()
public java.lang.String getUserPassword()
public int hashCode()
public boolean equals(java.lang.Object o)
ConnectionConfig
, taking
in count the values of database name, user name, and port number.
o
- DOCUMENT ME!
public java.lang.Integer getConnTimeOut()
public java.lang.Integer getMaxConnections()
public java.lang.Integer getMinConnections()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |