public void run() throws Exception {
logger.log(Level.FINE, "run()");
/* Callback join manager */
logger.log(Level.FINE, "retrieving the discovery manager from the "
+"callback join manager ...");
DiscoveryManagement dmCallback = joinMgrCallback.getDiscoveryManager();
if(dmCallback == null) {
throw new TestException("could not successfully retrieve "
+"the discovery manager");
}//endif
if( !dmCallback.equals(discoveryMgr) ) {
throw new TestException(
"callback join manager -- "
+"discovery manager returned is NOT equal "
+"to the discovery manager used to construct "
+"the join manager");
}//endif
logger.log(Level.FINE, "discovery manager retrieved "
+"equals the discovery manager used to construct "
+"the callback join manager");
/* Service ID join manager */
logger.log(Level.FINE, "retrieving the discovery manager from the "
+"service ID join manager ...");
DiscoveryManagement dmSrvcID = joinMgrSrvcID.getDiscoveryManager();
if(dmSrvcID == null) {
throw new TestException("could not successfully retrieve "
+"the discovery manager");
}//endif
if( !dmSrvcID.equals(discoveryMgr) ) {
throw new TestException(
"service ID join manager -- "
+"discovery manager returned is NOT equal "
+"to the discovery manager used to construct "
+"the join manager");