code: 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");
      }
docs: <p>This method updates the destinationLocalizationDefinition associated with the
  destinationHandler (if the destination is localised on this ME)
  and performs any necessary modifications to the
  message store and other components to reflect the new state of the
  destinationHandler.</p>
  
  @param destinationLocalizationDefinition
  <p>Updates the DestinationLocalizationDefinition associated with the
  destination.</p>