public interface SPECCHIOServerDescriptor
Modifier and Type | Method and Description |
---|---|
SPECCHIOClient |
createClient()
Create a client object suitable for connecting to the server
described by this descriptor.
|
java.lang.String |
getDataSourceName()
Get a name of the datasource (JNDI).
|
java.lang.String |
getDisplayName(boolean showUser,
boolean show_datasource_name)
Get the display name of this server.
|
java.lang.String |
getDisplayUser()
Get a description of the user account under which we are to log in.
|
int |
getList_index()
index at which this descriptor is found in the list of known connections
|
java.lang.String |
getPreferenceNodeName()
Get the node name in preferences or line number in legacy file
|
java.lang.Boolean |
isEncrypted()
Defines if this connection is encrypted
|
void |
setList_index(int list_index)
set index at which this descriptor is found in the list of known connections
|
void |
setUser(User user)
Set the user information associated with this account.
|
java.lang.Boolean |
usesDefaultTrustStore()
Defines if this connection relies on the default JVM trust store
|
SPECCHIOClient createClient() throws SPECCHIOClientException
SPECCHIOClientException
- could not create the clientjava.lang.String getDisplayName(boolean showUser, boolean show_datasource_name)
showUser
- include the user account details in the display?show_datasource_name
- include the JNDI details in the display?java.lang.String getDisplayUser()
java.lang.String getDataSourceName()
void setUser(User user)
user
- the user informationjava.lang.String getPreferenceNodeName()
java.lang.Boolean usesDefaultTrustStore()
java.lang.Boolean isEncrypted()
int getList_index()
void setList_index(int list_index)