public class AgentManager extends BaseTable implements IAgentManager
| Field | Type | Description |
|---|---|---|
| classname | VARCHAR(255) | Primary Key |
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected static String |
classNameField |
protected IThreadContext |
threadContext |
dbInterface, tableName| Constructor and Description |
|---|
AgentManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deinstall()
Uninstall.
|
String[] |
getAllAgents()
Get a list of all registered agent class names.
|
void |
install()
Install or upgrade.
|
void |
registerAgent(String className)
Register an agent.
|
void |
removeAgent(String className)
Remove an agent.
|
void |
unregisterAgent(String className)
Unregister an agent.
|
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, sleepForpublic static final String _rcsid
protected static final String classNameField
protected IThreadContext threadContext
public AgentManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext - is the thread context.database - is the database instance.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
install in interface IAgentManagerManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
deinstall in interface IAgentManagerManifoldCFExceptionpublic void registerAgent(String className) throws ManifoldCFException
registerAgent in interface IAgentManagerclassName - is the class.ManifoldCFExceptionpublic void unregisterAgent(String className) throws ManifoldCFException
unregisterAgent in interface IAgentManagerclassName - is the class to unregister.ManifoldCFExceptionpublic void removeAgent(String className) throws ManifoldCFException
removeAgent in interface IAgentManagerclassName - is the class to remove.ManifoldCFExceptionpublic String[] getAllAgents() throws ManifoldCFException
getAllAgents in interface IAgentManagerManifoldCFException