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