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;
   }
 }
  protected List<Class<?>> getConfigBeans() throws Exception {
    List<Class<?>> list =
        ClassFinder.isAssignableFrom(
            ClassFinder.infinispanClasses(classpath), AbstractConfigurationBean.class);

    list.add(TypedProperties.class);
    list.add(InfinispanConfiguration.class);
    return list;
  }