Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

JConnectionFactory (jremote API)

Interface JConnectionFactory

All Known Implementing Classes:
DefaultJConnectionFactory, JRemoteConnectionFactoryImpl


public interface JConnectionFactory

The connection factory for connections to remote a jBASE instance.


Method Summary

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 initialization.
JConnection
getConnection(String user, String password)
Get a connection to a remote jBASE instance.
JConnection
getConnection(String user, String password, Properties props)
Get a connection to a remote jBASE instance.
JConnection
getConnection(String user, String account, String password)
Get a connection to a remote jBASE account.


Method Detail


getConnection

JConnection getConnection()
                   throws JRemoteException

Get a connection to a remote jBASE instance.

Returns:
JConnection The connection
Throws:
JRemoteException




getConnection

JConnection getConnection(String user,
                          String password)
                   throws JRemoteException

Get a connection to a remote jBASE instance.

Parameters:
user -
password -
Returns:
JConnection The connection
Throws:
JRemoteException


getConnection

JConnection getConnection(String user,
                          String password,
                          Properties props)
                   throws JRemoteException

Get a connection to a remote jBASE instance.

Parameters:
user -
password -
props -
Returns:
JConnection The connection
Throws:
JRemoteException


getConnection

JConnection getConnection(String user,
                          String account,
                          String password)
                   throws JRemoteException

Get a connection to a remote jBASE account.

Parameters:
user -
account -
password -
Returns:
JConnection The connection
Throws:
JRemoteException


getConnection

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.

Parameters:
handler -
Returns:
JConnection The connection
Throws:
JRemoteException


Back to jREMOTE API

Was this article helpful?