public interface ServerConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
ServerConnection |
getConnection(Properties connectionProperties)
Establish a connection to the server.
|
ServerConnection getConnection(Properties connectionProperties) throws CommunicationException, ConnectionException
connProps - The properties used by the transport to find a connection. These
properties are typically specific to the transport.ConnectionException - If an error occurs communicating between client and serverCommunicationException - If an error occurs in connecting, typically due to
problems with the connection properties (bad user name, bad password, bad host name, etc)Copyright © 2012 JBoss by Red Hat. All Rights Reserved.