SipTransactionPersistentManager mgr
= (SipTransactionPersistentManager)this.getSipSessionManager();
if(mgr.isExpectingExpatIdsMap()) {
return findSessionViaBroadcast(id, version);
} else {
ExpatListElement expat = this.getExpatListElementFor(id);
if(expat == null) {
return null;
} else {
if(expat.getInstanceName() == null) {
return findSessionViaBroadcast(id, version);
} else {
if(_logger.isLoggable(Level.FINE)) {
_logger.fine("doing unicast load id = " + id
+ " version = " + version
+ "to instance: " + expat.getInstanceName());
}
return findSessionViaUnicast(id, version, expat.getInstanceName());
}
}
}
}