org.apache.oodt.cas.filemgr.catalog
Class DataSourceCatalogFactory

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.catalog.DataSourceCatalogFactory
All Implemented Interfaces:
CatalogFactory
Direct Known Subclasses:
MappedDataSourceCatalogFactory

public class DataSourceCatalogFactory
extends Object
implements CatalogFactory

Version:
$Revision: 9683 $

A Factory class for creating DataSourceCatalogs.

Author:
mattmann

Field Summary
protected  long cacheUpdateMinutes
           
protected  DataSource dataSource
           
protected  boolean fieldIdStr
           
protected  int pageSize
           
protected  ValidationLayer validationLayer
           
 
Constructor Summary
DataSourceCatalogFactory()
           Default Constructor
DataSourceCatalogFactory(DataSource ds)
           Constructs a new Factory from the specified DataSource.
 
Method Summary
 Catalog createCatalog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected DataSource dataSource

validationLayer

protected ValidationLayer validationLayer

fieldIdStr

protected boolean fieldIdStr

pageSize

protected int pageSize

cacheUpdateMinutes

protected long cacheUpdateMinutes
Constructor Detail

DataSourceCatalogFactory

public DataSourceCatalogFactory()

Default Constructor

.


DataSourceCatalogFactory

public DataSourceCatalogFactory(DataSource ds)

Constructs a new Factory from the specified DataSource.

Parameters:
ds - The DataSource to construct this factory from.
Method Detail

createCatalog

public Catalog createCatalog()
Specified by:
createCatalog in interface CatalogFactory
Returns:
A new Catalog object implementation.


Copyright © 1999-2011 Apache OODT. All Rights Reserved.