com.tibco.rta
Class RtaConnectionFactory
java.lang.Object
com.tibco.rta.RtaConnectionFactory
public class RtaConnectionFactory
- extends java.lang.Object
A factory for creating RtaConnection
objects.
Method Summary |
RtaConnection |
getConnection(java.lang.String connectionUrl,
java.lang.String username,
char[] password,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> configuration)
Creates a new RtaConnection object. |
RtaConnection |
getConnection(java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> configuration)
Creates a new RtaConnection object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtaConnectionFactory
public RtaConnectionFactory()
getConnection
public RtaConnection getConnection(java.lang.String connectionUrl,
java.lang.String username,
char[] password,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> configuration)
throws RtaException
- Creates a new RtaConnection object.
The format of the URL is "<protocol>://<host>:<port>. Currently supported protocol is http
e.g "http://localhost:4444"
- Parameters:
connectionUrl
- The server url to connect to.username
- The user name to use.password
- The password.
- Returns:
- the connection
- Throws:
RtaException
- if any exception was thrown during establishment of connection.
getConnection
public RtaConnection getConnection(java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> configuration)
throws RtaException
- Creates a new RtaConnection object.
The format of the URL is "<protocol>://<host>:<port>. Currently supported protocol is http
e.g "http://localhost:4444"
- Parameters:
connectionUrl
- The server url to connect to.username
- The user name to usepassword
- The passwordconfiguration
- A property map
- Returns:
- the connection
- Throws:
RtaException
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.