code: public static JaxRsServerMetaData getJaxWsServerMetaData(ModuleMetaData mmd) {
  
          JaxRsServerMetaData serverMetaData = null;
          if (mmd != null) {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, "Getting client metadata from module metadata instance: " + mmd);
              }
  
              JaxRsModuleMetaData moduleMetaData = (JaxRsModuleMetaData) mmd.getMetaData(jaxrsModuleSlot);
              if (moduleMetaData != null) {
                  serverMetaData = moduleMetaData.getServerMetaData();
              }
          }
  
          return serverMetaData;
      }
docs: Method to retrieve the ServerMetaData based on ModuleMetaData. This
  method retrieves the module name from the ModuleMetaData and delegates to
  the (String, ApplicationMetaData) version of this method below.