org.compass.core.lucene.engine.store.jdbc
Class JndiDataSourceProvider
java.lang.Object
org.compass.core.lucene.engine.store.jdbc.AbstractDataSourceProvider
org.compass.core.lucene.engine.store.jdbc.JndiDataSourceProvider
- All Implemented Interfaces:
- DataSourceProvider
public class JndiDataSourceProvider
- extends AbstractDataSourceProvider
A JNDI based data source provider. Uses any additional jndi settings to get the JNDI
initial context. The data source jndi name is the url set (without the jdbc:// prefix).
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiDataSourceProvider
public JndiDataSourceProvider()
doCreateDataSource
protected DataSource doCreateDataSource(String url,
CompassSettings settings)
throws CompassException
- Specified by:
doCreateDataSource in class AbstractDataSourceProvider
- Throws:
CompassException
Copyright (c) 2004-2008 The Compass Project.