|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jbase.jremote.DefaultJConnectionFactory
public class DefaultJConnectionFactory
The default implementation of a JConnectionFactory that will connect to a remote jBASE instance using a host and a port.
Field Summary | |
---|---|
static boolean |
DEFAULT_ENABLE_COMPRESSION
|
static boolean |
DEFAULT_ENABLE_NAIVETRUSTMANAGER
|
static boolean |
DEFAULT_ENABLE_SSL
|
static int |
DEFAULT_PORT
|
static String |
JBASE_PRODUCT_JREMOTEJAVA
|
Constructor Summary | |
---|---|
DefaultJConnectionFactory()
|
Method Summary | |
---|---|
void |
disableCompression()
|
void |
disableNaiveTrustManager()
|
void |
disableSSL()
|
void |
enableCompression()
|
void |
enableNaiveTrustManager()
|
void |
enableSSL()
|
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(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. |
protected Properties |
getConnectionProperties()
|
protected Properties |
getConnectionProperties(Properties props)
|
String |
getHost()
|
int |
getPort()
|
boolean |
isEnabledCompression()
|
boolean |
isEnabledNaiveTrustManager()
|
boolean |
isEnabledSSL()
|
void |
setHost(String host)
|
void |
setPort(int port)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_PORT
public static final boolean DEFAULT_ENABLE_SSL
public static final boolean DEFAULT_ENABLE_NAIVETRUSTMANAGER
public static final boolean DEFAULT_ENABLE_COMPRESSION
public static final String JBASE_PRODUCT_JREMOTEJAVA
Constructor Detail |
---|
public DefaultJConnectionFactory()
Method Detail |
---|
public JConnection getConnection() throws JRemoteException
JConnectionFactory
Get a connection to a remote jBASE instance.
getConnection
in interface JConnectionFactory
JRemoteException
public JConnection getConnection(String user, String password) throws JRemoteException
JConnectionFactory
Get a connection to a remote jBASE instance.
getConnection
in interface JConnectionFactory
JRemoteException
public JConnection getConnection(String user, String password, Properties props) throws JRemoteException
JConnectionFactory
Get a connection to a remote jBASE instance.
getConnection
in interface JConnectionFactory
JRemoteException
public JConnection getConnection(String user, String account, String password) throws JRemoteException
JConnectionFactory
Get a connection to a remote jBASE account.
getConnection
in interface JConnectionFactory
JRemoteException
public JConnection getConnection(JConnectionCallbackHandler handler) throws JRemoteException
JConnectionFactory
Get a connection to a remote jBASE instance, in a managed environment the callback handler provides ancillary connection initialisation.
getConnection
in interface JConnectionFactory
JRemoteException
protected Properties getConnectionProperties()
protected Properties getConnectionProperties(Properties props)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public void enableSSL()
public void disableSSL()
public boolean isEnabledSSL()
public void enableNaiveTrustManager()
public void disableNaiveTrustManager()
public boolean isEnabledNaiveTrustManager()
public void enableCompression()
public void disableCompression()
public boolean isEnabledCompression()
|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |