org.apache.openejb.resource.jdbc
Class BasicDataSourceUtil

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

public final class BasicDataSourceUtil
extends java.lang.Object


Method Summary
static DataSourcePlugin getDataSourcePlugin(java.lang.String jdbcUrl)
           
static java.lang.String getJdbcName(java.lang.String jdbcUrl)
           
static PasswordCipher getPasswordCipher(java.lang.String passwordCipherClass)
          Create a PasswordCipher instance from the #passwordCipherClass.
 
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(java.lang.String jdbcUrl)
                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getJdbcName

public static java.lang.String getJdbcName(java.lang.String jdbcUrl)

getPasswordCipher

public static PasswordCipher getPasswordCipher(java.lang.String passwordCipherClass)
                                        throws java.sql.SQLException
Create a PasswordCipher instance from the #passwordCipherClass.

Parameters:
passwordCipherClass - the password cipher to look for
Returns:
the password cipher from the #passwordCipherClass optionally set.
Throws:
java.sql.SQLException - if the driver can not be found.


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.