Interface IMappingConnectorManager
- 
- All Known Implementing Classes:
 MappingConnectorManager
public interface IMappingConnectorManagerThis interface describes the mapping connector registry. Mapping connectors are registered here, so that they can be made available when an mapping connection is created. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeinstall()Uninstall.IResultSetgetConnectors()Get ordered list of connectors.java.lang.StringgetDescription(java.lang.String className)Get a description given a class name.voidinstall()Install.booleanisInstalled(java.lang.String className)Check if a particular connector is installed or not.voidregisterConnector(java.lang.String description, java.lang.String className)Register a new connector.voidremoveConnector(java.lang.String className)Remove a connector.voidunregisterConnector(java.lang.String className)Unregister a connector. 
 - 
 
- 
- 
Method Detail
- 
install
void install() throws ManifoldCFExceptionInstall.- Throws:
 ManifoldCFException
 
- 
deinstall
void deinstall() throws ManifoldCFExceptionUninstall. This also unregisters all connectors.- Throws:
 ManifoldCFException
 
- 
registerConnector
void registerConnector(java.lang.String description, java.lang.String className) throws ManifoldCFExceptionRegister a new connector. The connector's install method will also be called.- Parameters:
 description- is the description to use in the UI.className- is the class name.- Throws:
 ManifoldCFException
 
- 
unregisterConnector
void unregisterConnector(java.lang.String className) throws ManifoldCFExceptionUnregister a connector. The connector's deinstall method will also be called.- Parameters:
 className- is the connector class to unregister.- Throws:
 ManifoldCFException
 
- 
removeConnector
void removeConnector(java.lang.String className) throws ManifoldCFExceptionRemove a connector. Call this when the connector cannot be instantiated.- Parameters:
 className- is the connector class to remove.- Throws:
 ManifoldCFException
 
- 
getConnectors
IResultSet getConnectors() throws ManifoldCFException
Get ordered list of connectors.- Returns:
 - a resultset with the columns "description" and "classname". These will be ordered by description.
 - Throws:
 ManifoldCFException
 
- 
getDescription
java.lang.String getDescription(java.lang.String className) throws ManifoldCFExceptionGet a description given a class name.- Parameters:
 className- is the class name.- Returns:
 - the description, or null if the class is not registered.
 - Throws:
 ManifoldCFException
 
- 
isInstalled
boolean isInstalled(java.lang.String className) throws ManifoldCFExceptionCheck if a particular connector is installed or not.- Parameters:
 className- is the class name of the connector.- Returns:
 - true if installed, false otherwise.
 - Throws:
 ManifoldCFException
 
 - 
 
 -