org.apache.openejb.resource.jdbc
Class BasicDataSourceUtil

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.BasicDataSourceUtil

public final class BasicDataSourceUtil
extends Object


Method Summary
static DataSourcePlugin getDataSourcePlugin(String jdbcUrl)
           
static String getJdbcName(String jdbcUrl)
           
static PasswordCipher getPasswordCipher(String passwordCipherClass)
          Create a PasswordCipher instance from the passwordCipher class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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-2011 The Apache Software Foundation. All Rights Reserved.