Interface IAgentManager
-
- All Known Implementing Classes:
AgentManager
public interface IAgentManagerThis interface describes the management of the agent registry.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeinstall()Uninstall.java.lang.String[]getAllAgents()Get a list of all registered agent class names.voidinstall()Install.voidregisterAgent(java.lang.String className)Register an agent.voidremoveAgent(java.lang.String className)Remove an agent.voidunregisterAgent(java.lang.String className)Unregister an agent.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
install
void install() throws ManifoldCFExceptionInstall.- Throws:
ManifoldCFException
-
deinstall
void deinstall() throws ManifoldCFExceptionUninstall. Also uninstalls all remaining agents.- Throws:
ManifoldCFException
-
registerAgent
void registerAgent(java.lang.String className) throws ManifoldCFExceptionRegister an agent.- Parameters:
className- is the class.- Throws:
ManifoldCFException
-
unregisterAgent
void unregisterAgent(java.lang.String className) throws ManifoldCFExceptionUnregister an agent.- Parameters:
className- is the class to unregister.- Throws:
ManifoldCFException
-
removeAgent
void removeAgent(java.lang.String className) throws ManifoldCFExceptionRemove an agent. Use this when the agent cannot be invoked. The agent becomes unavailable, but its schema is not cleaned up.- Parameters:
className- is the class to remove.- Throws:
ManifoldCFException
-
getAllAgents
java.lang.String[] getAllAgents() throws ManifoldCFExceptionGet a list of all registered agent class names.- Returns:
- the classnames in an array.
- Throws:
ManifoldCFException
-
-