public class ConnectionFactory extends Object
Connection,
ConnectionException| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Get the connection for this thread.
|
static ConnectionFactory |
getConnectionFactory()
Get the default connection factory
|
Properties |
getProperties() |
void |
removeConnection(ConnectionImpl connection)
Remove the connection from the factory after closure.
|
public static ConnectionFactory getConnectionFactory() throws org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException - If the configuration cannot be parsed.public Connection getConnection() throws org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionpublic void removeConnection(ConnectionImpl connection)
connection - The connection to remove.public Properties getProperties()
Copyright © 2018 JBoss by Red Hat. All rights reserved.