it.geosolutions.geobatch.catalog.file
Class FileBasedCatalogImpl
java.lang.Object
it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
it.geosolutions.geobatch.catalog.impl.BaseResource
it.geosolutions.geobatch.catalog.impl.BasePersistentResource<CatalogConfiguration>
it.geosolutions.geobatch.catalog.impl.BaseCatalog
it.geosolutions.geobatch.catalog.file.FileBasedCatalogImpl
- All Implemented Interfaces:
- Catalog, FileBaseCatalog, Identifiable, PersistentResource<CatalogConfiguration>, Resource, java.lang.Cloneable, org.springframework.context.ApplicationContextAware
public class FileBasedCatalogImpl
- extends BaseCatalog
- implements FileBaseCatalog, org.springframework.context.ApplicationContextAware
A Catalog based on an xml marshalled file.
- Author:
- Simone Giannecchini, GeoSolutions
|
Constructor Summary |
FileBasedCatalogImpl(java.lang.String id,
java.lang.String name,
java.lang.String description)
|
| Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseCatalog |
add, add, added, addListener, dispose, event, fireAdded, fireModified, getFlowManager, getFlowManagerByName, getFlowManagers, getListeners, getResource, getResourceByName, getResources, remove, removed, removeListener, save |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.geosolutions.geobatch.catalog.Catalog |
add, add, addListener, dispose, getDAO, getFlowManager, getFlowManagerByName, getFlowManagers, getListeners, getResource, getResourceByName, getResources, remove, removeListener, save, setDAO |
dataDirHandler
public DataDirHandler dataDirHandler
FileBasedCatalogImpl
public FileBasedCatalogImpl(java.lang.String id,
java.lang.String name,
java.lang.String description)
init
public void init()
throws java.lang.Exception
- init method called by Spring
- Throws:
java.lang.Exception - if could not init data dir
getBaseDirectory
public java.io.File getBaseDirectory()
- Description copied from interface:
FileBaseCatalog
- Getter for the base directory.
- Specified by:
getBaseDirectory in interface FileBaseCatalog
- Returns:
- baseDirectory
setBaseDirectory
protected void setBaseDirectory(java.io.File baseDirectory)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getDataDirHandler
public DataDirHandler getDataDirHandler()
setDataDirHandler
public void setDataDirHandler(DataDirHandler dataDirHandler)
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.