Modifier and Type | Method and Description |
---|---|
void |
ConnectionImpl.connect() |
void |
RhinoConnection.connect()
Try to connect this connection.
|
static RhinoConnection |
RhinoConnectionFactory.connect(File propertiesFile)
Create a Rhino client using connection properties in the given properties file.
|
static RhinoConnection |
RhinoConnectionFactory.connect(Properties properties)
Create a Rhino client using connection properties in the given properties object.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String[] servers,
String username,
String password)
Create a Rhino client that will attempt connections to the given servers in the order specified, and
authenticate using the given username and password.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String[] servers,
String username,
String password,
Properties sslProps)
Deprecated.
Initialise SSL properties by calling
RhinoConnectionFactory.setRhinoSslProperties(java.util.Properties) (only once)
then use connect methods on this class that do not take SSL properties as an argument. Please note that the
setRhinoSslProperties method requires a different set of SSL properties than that used by this method. |
static RhinoConnection |
RhinoConnectionFactory.connect(String host,
int port,
String username,
String password)
Create a Rhino client that will connect to the given host and port, and authenticate using the given username and password.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String host,
int port,
String username,
String password,
Properties sslProps)
Deprecated.
Initialise SSL properties by calling
RhinoConnectionFactory.setRhinoSslProperties(java.util.Properties) (only once)
then use connect methods on this class that do not take SSL properties as an argument. Please note that the
setRhinoSslProperties method requires a different set of SSL properties than that used by this method. |
static RhinoConnection |
RhinoConnectionFactory.connect(String serverList,
String username,
String password)
Create a Rhino client that will attempt connections to the given hosts and ports in the order specified, and
authenticate using the given username and password.
|
protected void |
ConnectionImpl.createMBeanServerConnection(String host,
int port,
String username,
String password) |
void |
ConnectionImpl.reconnect() |
void |
RhinoConnection.reconnect()
Disconnect then connect this connection.
|
void |
ConnectionImpl.testConnection() |
void |
RhinoConnection.testConnection()
Test this connection by invoking a basic MBean operation.
|
Constructor and Description |
---|
ConnectionImpl(String[] hosts,
String username,
String password) |
ConnectionImpl(String[] hosts,
String username,
String password,
boolean attemptRhinoSsl) |