|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.database.BaseTable
org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager
public class OutputConnectorManager
Implementation of IOutputConnectorManager.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected static java.lang.String |
classNameField
|
protected static java.lang.String |
descriptionField
|
protected IThreadContext |
threadContext
|
| Fields inherited from class org.apache.manifoldcf.core.database.BaseTable |
|---|
dbInterface, tableName |
| Constructor Summary | |
|---|---|
OutputConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.manifoldcf.core.database.BaseTable |
|---|
addTableIndex, analyzeTable, beginTransaction, constructDistinctOnClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getTableIndexes, getTableName, getTableSchema, getTransactionID, makeTableKey, noteModifications, performAddIndex, performAlter, performCreate, performDelete, performDrop, performInsert, performLock, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
protected static final java.lang.String descriptionField
protected static final java.lang.String classNameField
protected IThreadContext threadContext
| Constructor Detail |
|---|
public OutputConnectorManager(IThreadContext threadContext,
IDBInterface database)
throws ManifoldCFException
threadContext - is the thread context.database - is the database handle.
ManifoldCFException| Method Detail |
|---|
public void install()
throws ManifoldCFException
install in interface IOutputConnectorManagerManifoldCFException
public void deinstall()
throws ManifoldCFException
deinstall in interface IOutputConnectorManagerManifoldCFException
public void registerConnector(java.lang.String description,
java.lang.String className)
throws ManifoldCFException
registerConnector in interface IOutputConnectorManagerdescription - 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 IOutputConnectorManagerclassName - is the class name of the connector to unregister.
ManifoldCFException
public void removeConnector(java.lang.String className)
throws ManifoldCFException
removeConnector in interface IOutputConnectorManagerclassName - is the connector class to remove.
ManifoldCFException
public IResultSet getConnectors()
throws ManifoldCFException
getConnectors in interface IOutputConnectorManagerManifoldCFException
public java.lang.String getDescription(java.lang.String className)
throws ManifoldCFException
getDescription in interface IOutputConnectorManagerclassName - is the class name.
ManifoldCFException
public boolean isInstalled(java.lang.String className)
throws ManifoldCFException
isInstalled in interface IOutputConnectorManagerclassName - is the class name of the connector.
ManifoldCFExceptionprotected java.lang.String getCacheKey()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||