public class EmbeddedProfile extends Object implements ConnectionProfile
| Modifier and Type | Field and Description |
|---|---|
static String |
USE_CALLING_THREAD |
| Constructor and Description |
|---|
EmbeddedProfile() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
connect(String url,
Properties info)
This method tries to make a connection to the given URL.
|
protected ServerConnection |
createServerConnection(Properties info) |
public static final String USE_CALLING_THREAD
public ConnectionImpl connect(String url, Properties info) throws TeiidSQLException
connect in interface ConnectionProfileThe - URL used to establish a connection.SQLException - if it is unable to establish a connectionTeiidSQLExceptionprotected ServerConnection createServerConnection(Properties info) throws org.teiid.core.TeiidException
org.teiid.core.TeiidExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.