|
|||||||||
| 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.agentmanager.AgentManager
public class AgentManager
This is the implementation of IAgentManager.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected static java.lang.String |
classNameField
|
protected IThreadContext |
threadContext
|
| Fields inherited from class org.apache.manifoldcf.core.database.BaseTable |
|---|
dbInterface, tableName |
| Constructor Summary | |
|---|---|
AgentManager(IThreadContext threadContext,
IDBInterface database)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| 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 classNameField
protected IThreadContext threadContext
| Constructor Detail |
|---|
public AgentManager(IThreadContext threadContext,
IDBInterface database)
throws ManifoldCFException
threadContext - is the thread context.database - is the database instance.
ManifoldCFException| Method Detail |
|---|
public void install()
throws ManifoldCFException
install in interface IAgentManagerManifoldCFException
public void deinstall()
throws ManifoldCFException
deinstall in interface IAgentManagerManifoldCFException
public void registerAgent(java.lang.String className)
throws ManifoldCFException
registerAgent in interface IAgentManagerclassName - is the class.
ManifoldCFException
public void unregisterAgent(java.lang.String className)
throws ManifoldCFException
unregisterAgent in interface IAgentManagerclassName - is the class to unregister.
ManifoldCFException
public void removeAgent(java.lang.String className)
throws ManifoldCFException
removeAgent in interface IAgentManagerclassName - is the class to remove.
ManifoldCFException
public java.lang.String[] getAllAgents()
throws ManifoldCFException
getAllAgents in interface IAgentManagerManifoldCFException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||