public interface JConnectionFactory
The connection factory for connections to remote a jBASE instance.
Modifier and Type | Method and Description |
---|---|
JConnection |
getConnection()
Get a connection to a remote jBASE instance.
|
JConnection |
getConnection(JConnectionCallbackHandler handler)
Get a connection to a remote jBASE instance, in a managed environment
the callback handler provides ancillary connection initialisation.
|
JConnection |
getConnection(java.lang.String user,
java.lang.String password)
Get a connection to a remote jBASE instance.
|
JConnection |
getConnection(java.lang.String user,
java.lang.String password,
java.util.Properties props)
Get a connection to a remote jBASE instance.
|
JConnection |
getConnection(java.lang.String user,
java.lang.String account,
java.lang.String password)
Get a connection to a remote jBASE account.
|
JConnection getConnection() throws JRemoteException
Get a connection to a remote jBASE instance.
JRemoteException
JConnection getConnection(java.lang.String user, java.lang.String password) throws JRemoteException
Get a connection to a remote jBASE instance.
user
- password
- JRemoteException
JConnection getConnection(java.lang.String user, java.lang.String password, java.util.Properties props) throws JRemoteException
Get a connection to a remote jBASE instance.
user
- password
- props
- JRemoteException
JConnection getConnection(java.lang.String user, java.lang.String account, java.lang.String password) throws JRemoteException
Get a connection to a remote jBASE account.
user
- account
- password
- JRemoteException
JConnection getConnection(JConnectionCallbackHandler handler) throws JRemoteException
Get a connection to a remote jBASE instance, in a managed environment the callback handler provides ancillary connection initialisation.
handler
- JRemoteException