public class AgentManager extends BaseTable implements IAgentManager
| Field | Type | Description |
|---|---|---|
| classname | VARCHAR(255) | Primary Key |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
protected static java.lang.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.
|
java.lang.String[] |
getAllAgents()
Get a list of all registered agent class names.
|
void |
install()
Install or upgrade.
|
void |
registerAgent(java.lang.String className)
Register an agent.
|
void |
removeAgent(java.lang.String className)
Remove an agent.
|
void |
unregisterAgent(java.lang.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 java.lang.String _rcsid
protected static final java.lang.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(java.lang.String className)
throws ManifoldCFException
registerAgent in interface IAgentManagerclassName - is the class.ManifoldCFExceptionpublic void unregisterAgent(java.lang.String className)
throws ManifoldCFException
unregisterAgent in interface IAgentManagerclassName - is the class to unregister.ManifoldCFExceptionpublic void removeAgent(java.lang.String className)
throws ManifoldCFException
removeAgent in interface IAgentManagerclassName - is the class to remove.ManifoldCFExceptionpublic java.lang.String[] getAllAgents()
throws ManifoldCFException
getAllAgents in interface IAgentManagerManifoldCFException