next up previous contents
Next: startUser() Up: Extending the basic SysAgent Previous: Extending the basic SysAgent   Contents

initUser()

Is called when the System Agent is initializing. One should put here code to initialize the new System Agent. The MAFFinderService for example initializes here its hashes for holding the registered entries:

public void initUser() {

   agents = new Hashtable();

   agentprofiles = new OTMObjectHashtable();

   systems = new OTMObjectHashtable();

   systeminfos = new OTMObjectHashtable();

   places = new Hashtable();

   helper.println(``Initialized.'');

}



Thomas Letsch 2001-02-21