public class ConnectorManager extends BaseTable implements IConnectorManager
Field | Type | Description |
---|---|---|
description | VARCHAR(255) | |
classname | VARCHAR(255) | Primary Key |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected static java.lang.String |
classNameField |
protected static java.lang.String |
descriptionField |
protected IThreadContext |
threadContext |
dbInterface, tableName
Constructor and Description |
---|
ConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
deinstall()
Uninstall.
|
protected java.lang.String |
getCacheKey()
Get the cache key for the connector manager table.
|
IResultSet |
getConnectors()
Get ordered list of connectors.
|
java.lang.String |
getDescription(java.lang.String className)
Get a description given a class name.
|
void |
install()
Install or upgrade.
|
boolean |
isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
removeConnector(java.lang.String className)
Remove a connector.
|
void |
unregisterConnector(java.lang.String className)
Unregister a connector.
|
addTableIndex, analyzeTable, beginTransaction, buildConjunctionClause, constructCountClause, constructDistinctOnClause, constructDoubleCastClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, findConjunctionClauseMax, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getSleepAmt, getTableIndexes, getTableName, getTableSchema, getTransactionID, getWindowedReportMaxRows, makeTableKey, noteModifications, performAddIndex, performAlter, performCommit, performCreate, performDelete, performDrop, performInsert, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback, sleepFor
public static final java.lang.String _rcsid
protected static final java.lang.String descriptionField
protected static final java.lang.String classNameField
protected IThreadContext threadContext
public ConnectorManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext
- is the thread context.database
- is the database handle.ManifoldCFException
public void install() throws ManifoldCFException
install
in interface IConnectorManager
ManifoldCFException
public void deinstall() throws ManifoldCFException
deinstall
in interface IConnectorManager
ManifoldCFException
public void registerConnector(java.lang.String description, java.lang.String className) throws ManifoldCFException
registerConnector
in interface IConnectorManager
description
- is the description to use in the UI.className
- is the class name.ManifoldCFException
public void unregisterConnector(java.lang.String className) throws ManifoldCFException
unregisterConnector
in interface IConnectorManager
className
- is the class of the connector to unregister.ManifoldCFException
public void removeConnector(java.lang.String className) throws ManifoldCFException
removeConnector
in interface IConnectorManager
className
- is the connector class to remove.ManifoldCFException
public IResultSet getConnectors() throws ManifoldCFException
getConnectors
in interface IConnectorManager
ManifoldCFException
public java.lang.String getDescription(java.lang.String className) throws ManifoldCFException
getDescription
in interface IConnectorManager
className
- is the class name.ManifoldCFException
public boolean isInstalled(java.lang.String className) throws ManifoldCFException
isInstalled
in interface IConnectorManager
className
- is the class name of the connector.ManifoldCFException
protected java.lang.String getCacheKey()