org.deegree.sqldialect
Class SQLDialectManager
java.lang.Object
org.deegree.commons.config.AbstractBasicResourceManager
org.deegree.sqldialect.SQLDialectManager
- All Implemented Interfaces:
- ResourceManager
public class SQLDialectManager
- extends AbstractBasicResourceManager
Manager for SQLDialect
instances.
- Version:
- $Revision: 31043 $, $Date: 2011-06-10 10:24:36 +0200 (Fr, 10. Jun 2011) $
- Author:
- Markus Schneider, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLDialectManager
public SQLDialectManager()
create
public SQLDialect create(String connId)
throws ResourceInitException
- Throws:
ResourceInitException
getDependencies
public Class<? extends ResourceManager>[] getDependencies()
- Returns:
- an empty array if there are no dependencies
getMetadata
public ResourceManagerMetadata<?> getMetadata()
- Returns:
- a metadata object, may be null
shutdown
public void shutdown()
- Description copied from interface:
ResourceManager
- Is called upon workspace shutdown.
startup
public void startup(DeegreeWorkspace workspace)
throws ResourceInitException
- Description copied from interface:
ResourceManager
- Is called upon workspace startup.
- Throws:
ResourceInitException
activate
public ResourceState activate(String id)
- Description copied from interface:
ResourceManager
- Activates the resource with the given identifier.
- Parameters:
id
- resource identifier, must not be null
- Returns:
- resource state after activation (may be unsuccessful), but never
null
deactivate
public ResourceState deactivate(String id)
- Description copied from interface:
ResourceManager
- Deactivates the resource with the given identifier.
- Parameters:
id
- resource identifier, must not be null
- Returns:
- resource state after deactivation (may be unsuccessful), but never
null
getProvider
protected ResourceProvider getProvider(File file)
- Specified by:
getProvider
in class AbstractBasicResourceManager
remove
protected void remove(String id)
- Specified by:
remove
in class AbstractBasicResourceManager
Copyright © 2011. All Rights Reserved.