org.jboss.blacktie.jatmibroker.xatmi
Class ConnectionFactory

java.lang.Object
  extended by org.jboss.blacktie.jatmibroker.xatmi.ConnectionFactory

public class ConnectionFactory
extends Object

This is a factory that will create connections to remote Blacktie services.

See Also:
Connection, ConnectionException

Method Summary
 Connection getConnection()
          Get the connection for this thread.
static ConnectionFactory getConnectionFactory()
          Get the default connection factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnectionFactory

public static ConnectionFactory getConnectionFactory()
                                              throws org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException
Get the default connection factory

Returns:
The connection factory
Throws:
org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException - If the configuration cannot be parsed.

getConnection

public Connection getConnection()
Get the connection for this thread.

Returns:
The connection for this thread.


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.