org.teiid.test.framework.connection
Class JEEConnection
java.lang.Object
org.teiid.test.framework.connection.ConnectionStrategy
org.teiid.test.framework.connection.JEEConnection
public class JEEConnection
- extends ConnectionStrategy
JEE (JNDI) Connection Strategy, when the test is run inside an application
server. Make sure all the jndi names are set correctly in the properties
file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DS_JNDINAME
public static final String DS_JNDINAME
- See Also:
- Constant Field Values
JEEConnection
public JEEConnection(Properties props)
throws QueryTestFailedException
- Throws:
QueryTestFailedException
getConnection
public Connection getConnection()
throws QueryTestFailedException
- Description copied from class:
ConnectionStrategy
- Returns a connection
- Specified by:
getConnection in class ConnectionStrategy
- Returns:
- Connection
- Throws:
QueryTestFailedException
shutdown
public void shutdown()
- Overrides:
shutdown in class ConnectionStrategy
validate
public void validate()
Copyright © 2012. All Rights Reserved.