*/
public void run() throws Exception {
logger.log(Level.FINE, "run()");
/* Callback join manager */
logger.log(Level.FINE, "testing the callback join manager ...");
JoinManager newJM = null;
newJM = new JoinManager(testService,
serviceAttrs,
callback,
discoveryMgr,
leaseMgr,
getConfig().getConfiguration());
joinMgrList.add(newJM);
if( !satisfiesEqualityTest(joinMgrCallback,newJM) ) {
throw new TestException(
"failed equality test -- DIFFERENT instances "
+"of callback join manager ");
}//endif
if( !satisfiesEqualityTest(joinMgrCallback,joinMgrCallback) ) {
throw new TestException(
"failed equality test -- SAME instance "
+"of callback join manager ");
}//endif
logger.log(Level.FINE, "callback join manager passed equality test");
/* Service ID join manager */
logger.log(Level.FINE, "testing the service ID join manager ...");
newJM = new JoinManager(testService,
serviceAttrs,
serviceID,
discoveryMgr,
leaseMgr,
getConfig().getConfiguration());