Package org.teiid.jdbc.jboss
Class ModuleLocalProfile
- java.lang.Object
-
- org.teiid.jdbc.jboss.ModuleLocalProfile
-
- All Implemented Interfaces:
ConnectionProfile
,LocalProfile
public class ModuleLocalProfile extends Object implements LocalProfile
-
-
Field Summary
-
Fields inherited from interface org.teiid.jdbc.LocalProfile
DQP_WORK_CONTEXT, SSL_SESSION, TRANSPORT_NAME, USE_CALLING_THREAD, WAIT_FOR_LOAD
-
-
Constructor Summary
Constructors Constructor Description ModuleLocalProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionImpl
connect(String url, Properties info)
This method tries to make a connection to the given URL.ServerConnection
createServerConnection(Properties info)
-
-
-
Method Detail
-
connect
public ConnectionImpl connect(String url, Properties info) throws TeiidSQLException
Description copied from interface:ConnectionProfile
This method tries to make a connection to the given URL.- Specified by:
connect
in interfaceConnectionProfile
- Parameters:
url
- used to establish a connection.- Returns:
- Connection object created
- Throws:
TeiidSQLException
- if it is unable to establish a connection
-
createServerConnection
public ServerConnection createServerConnection(Properties info) throws TeiidException
- Specified by:
createServerConnection
in interfaceLocalProfile
- Throws:
TeiidException
-
-