// register with OTS
if (!seenXid) {
// new branch
// COMMENT(Ram J) no need to activate OTSResource object since its local.
ref = new OTSResourceImpl(xid, res, this);
if( Configuration.isLocalFactory()) {
((ControlImpl) control).get_localCoordinator().register_resource(ref);
}
else {
control.get_coordinator().register_resource(ref);