org.apache.karaf.jaas.modules.jdbc
Class JDBCUtils
java.lang.Object
org.apache.karaf.jaas.modules.jdbc.JDBCUtils
public final class JDBCUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATASOURCE
public static final String DATASOURCE
- See Also:
- Constant Field Values
JNDI
public static final String JNDI
- See Also:
- Constant Field Values
OSGI
public static final String OSGI
- See Also:
- Constant Field Values
createDatasource
public static Object createDatasource(org.osgi.framework.BundleContext bc,
String url)
throws Exception
- Looks up a datasource from the url. The datasource can be passed either as jndi name or osgi ldap filter.
- Parameters:
url -
- Returns:
-
- Throws:
Exception
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.