private static List<Class<?>> getMBeanClasses() throws IOException {
   try {
     return ClassFinder.withAnnotationDeclared(ClassFinder.infinispanClasses(cp), MBean.class);
   } catch (Exception e) {
     IOException ioe = new IOException("Unable to get Infinispan classes");
     ioe.initCause(e);
     throw ioe;
   }
 }