code: @Override
      public String[] getjavaVMs() {
          ArrayList<String> javaVMs = new ArrayList<String>();
  
          // There will be only one MBean registered
          javaVMs.addAll(MBeanServerHelper.queryObjectName(
                          createPropertyPatternObjectName(J2EEManagementObjectNameFactory.TYPE_JVM)));
  
          return javaVMs.toArray(new String[javaVMs.size()]);
      }
docs: {@inheritDoc}