org.apache.openejb.resource.jdbc
Class DataSourceFactory
java.lang.Object
org.apache.openejb.resource.jdbc.DataSourceFactory
public class DataSourceFactory
- extends Object
- Version:
- $Rev: 1431366 $ $Date: 2013-01-10 14:00:24 +0000 (Thu, 10 Jan 2013) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_SQL_PROPERTY
public static final String LOG_SQL_PROPERTY
- See Also:
- Constant Field Values
GLOBAL_LOG_SQL_PROPERTY
public static final String GLOBAL_LOG_SQL_PROPERTY
- See Also:
- Constant Field Values
POOL_PROPERTY
public static final String POOL_PROPERTY
- See Also:
- Constant Field Values
DATA_SOURCE_CREATOR_PROP
public static final String DATA_SOURCE_CREATOR_PROP
- See Also:
- Constant Field Values
DataSourceFactory
public DataSourceFactory()
create
public static DataSource create(String name,
boolean configuredManaged,
Class impl,
String definition,
Duration maxWaitTime,
Duration timeBetweenEvictionRuns,
Duration minEvictableIdleTime)
throws IllegalAccessException,
InstantiationException,
IOException
- Throws:
IllegalAccessException
InstantiationException
IOException
creator
public static DataSourceCreator creator(Object creatorName,
boolean willBeProxied)
trimNotSupportedDataSourceProperties
public static void trimNotSupportedDataSourceProperties(Properties properties)
knows
public static boolean knows(Object object)
forgetRecipe
public static org.apache.xbean.recipe.ObjectRecipe forgetRecipe(Object rawObject,
org.apache.xbean.recipe.ObjectRecipe defaultValue)
destroy
public static void destroy(Object o)
throws Throwable
- Throws:
Throwable
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.