org.semanticdesktop.aperture.datasource.impl
Class DefaultDataSourceRegistry
java.lang.Object
org.semanticdesktop.aperture.datasource.impl.DataSourceRegistryImpl
org.semanticdesktop.aperture.datasource.impl.DefaultDataSourceRegistry
- All Implemented Interfaces:
- DataSourceRegistry
public class DefaultDataSourceRegistry
- extends DataSourceRegistryImpl
DefaultDataSourceRegistry provides the complete set of DataSourceFactories available in Aperture.
The main purpose of this class is to be able to conveniently access the set of DataSourceFactories in
non-OSGi applications, which take care of this initialization in a different way. A single line of code
gives you the entire set without requiring further setup.
The set of factory class names are loaded from an XML file which can optionally be specified to the
constructor. This class requires all the listed classes to have a no-argument constructor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataSourceRegistry
public DefaultDataSourceRegistry()
DefaultDataSourceRegistry
public DefaultDataSourceRegistry(InputStream stream)
throws IOException
- Throws:
IOException
Copyright © 2010 Aperture Development Team. All Rights Reserved.