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, sleepFor
public 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.ManifoldCFException
public void install() throws ManifoldCFException
install
in interface IAgentManager
ManifoldCFException
public void deinstall() throws ManifoldCFException
deinstall
in interface IAgentManager
ManifoldCFException
public void registerAgent(java.lang.String className) throws ManifoldCFException
registerAgent
in interface IAgentManager
className
- is the class.ManifoldCFException
public void unregisterAgent(java.lang.String className) throws ManifoldCFException
unregisterAgent
in interface IAgentManager
className
- is the class to unregister.ManifoldCFException
public void removeAgent(java.lang.String className) throws ManifoldCFException
removeAgent
in interface IAgentManager
className
- is the class to remove.ManifoldCFException
public java.lang.String[] getAllAgents() throws ManifoldCFException
getAllAgents
in interface IAgentManager
ManifoldCFException