public class ConnectionDescriptor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionDescriptor.PersistentParameterList |
static class |
ConnectionDescriptor.PersistentParameterListSchema |
Constructor and Description |
---|
ConnectionDescriptor() |
ConnectionDescriptor(java.lang.Class dataStoreDriverClass,
ParameterList parameterList) |
ConnectionDescriptor(java.lang.String name,
java.lang.Class dataStoreDriverClass,
ParameterList parameterList) |
Modifier and Type | Method and Description |
---|---|
DataStoreConnection |
createConnection(DataStoreDriver driver) |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getDataStoreDriverClassName() |
java.lang.String |
getName() |
ParameterList |
getParameterList() |
ConnectionDescriptor.PersistentParameterList |
getParameterListWithObfuscatedPassword() |
ParameterList |
getParameterListWithoutPassword() |
java.lang.String |
getParametersString() |
int |
hashCode() |
static java.lang.String |
passwordParameterName(ParameterListSchema schema) |
void |
setDataStoreDriverClassName(java.lang.String dataStoreDriverClassName) |
void |
setName(java.lang.String name) |
void |
setParameterList(ParameterList parameterList) |
void |
setParameterListWithObfuscatedPassword(ConnectionDescriptor.PersistentParameterList parameterListWithObfuscatedPassword) |
java.lang.String |
toString() |
public ConnectionDescriptor()
public ConnectionDescriptor(java.lang.Class dataStoreDriverClass, ParameterList parameterList)
public ConnectionDescriptor(java.lang.String name, java.lang.Class dataStoreDriverClass, ParameterList parameterList)
public void setName(java.lang.String name)
public java.lang.String getName()
public DataStoreConnection createConnection(DataStoreDriver driver) throws java.lang.Exception
java.lang.Exception
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public ParameterList getParameterList()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getParametersString()
public ParameterList getParameterListWithoutPassword()
public void setParameterListWithObfuscatedPassword(ConnectionDescriptor.PersistentParameterList parameterListWithObfuscatedPassword)
public ConnectionDescriptor.PersistentParameterList getParameterListWithObfuscatedPassword()
public void setDataStoreDriverClassName(java.lang.String dataStoreDriverClassName)
public java.lang.String getDataStoreDriverClassName()
public void setParameterList(ParameterList parameterList)
public static java.lang.String passwordParameterName(ParameterListSchema schema)