org.apache.openejb.resource.jdbc
Class BasicDataSourceUtil
java.lang.Object
org.apache.openejb.resource.jdbc.BasicDataSourceUtil
public final class BasicDataSourceUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDataSourcePlugin
public static DataSourcePlugin getDataSourcePlugin(String jdbcUrl)
throws SQLException
- Throws:
SQLException
getJdbcName
public static String getJdbcName(String jdbcUrl)
getPasswordCipher
public static PasswordCipher getPasswordCipher(String passwordCipherClass)
throws SQLException
- Create a
PasswordCipher instance from the
passwordCipher class name.
- Parameters:
passwordCipherClass - the password cipher to look for
- Returns:
- the password cipher from the passwordCipher class name
optionally set.
- Throws:
SQLException - if the driver can not be found.
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.