com.tibco.rta
Class RtaConnectionFactory

java.lang.Object
  extended by com.tibco.rta.RtaConnectionFactory

public class RtaConnectionFactory
extends java.lang.Object

A factory for creating RtaConnection objects.


Constructor Summary
RtaConnectionFactory()
           
 
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
 

Constructor Detail

RtaConnectionFactory

public RtaConnectionFactory()
Method Detail

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 use
password - The password
configuration - A property map
Returns:
the connection
Throws:
RtaException


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.