docs: protected void updateLocalizationDefinition(BaseLocalizationDefinition destinationLocalizationDefinition,
                                                  TransactionCommon transaction)
                      throws
                      SIResourceException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(
                          tc,
                          "updateLocalizationDefinition", new Object[] { destinationLocalizationDefinition, transaction });
  
          //TODO close all consumer sessions?
  
          if (isPubSub())
              _pubSubRealization.updateLocalisationDefinition((LocalizationDefinition) destinationLocalizationDefinition);
          else
          {
              if (destinationLocalizationDefinition instanceof LocalizationDefinition)
              {
                  //this is an update of the existing PM localization
                  _ptoPRealization.updateLocalisationDefinition(destinationLocalizationDefinition, transaction);
              }
              else
              {
                  SIResourceException e = new SIResourceException(new UnsupportedOperationException());
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      SibTr.exit(tc, "updateLocalizationDefinition", e);
                  throw e;
              }
          }
  
          //update TRM if necessary
          getLocalisationManager().updateTrmAdvertisements();
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "updateLocalizationDefinition");
      }