code: @Override
    public void _LocalPeer_setURI(String uri) throws MBeanException {
      // validate uri
      try {
        new URI(uri);
  
        getMutableConfiguration().setStringValue(OwnDiameterURI.ordinal(), uri);
  
        if (logger.isInfoEnabled()) {
          logger.info("Local Peer URI successfully changed to '" + uri + "'. Restart to Diameter stack is needed to apply changes.");
        }
      }
      catch (URISyntaxException use) {
        throw new MBeanException(use);
      }
    }
docs: /*
  (non-Javadoc)
  @see org.mobicents.diameter.stack.DiameterStackMultiplexerMBean#_LocalPeer_setURI(java.lang.String)