Interface IConnectorManager
- 
- All Known Implementing Classes:
 ConnectorManager
public interface IConnectorManagerThis interface describes a manager for the registry of connectors. Use this to register or remove a connector from the list of available choices. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid 
- 
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. 
 - 
 
- 
- 
Field Detail
- 
_rcsid
static final java.lang.String _rcsid
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
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. Use this method when the connector doesn't seem to be in the classpath, so deregistration cannot occur.- 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
 
 - 
 
 -