Examples of findAnnotatedClasses()


Examples of org.platformlayer.xaas.discovery.JerseyAnnotationDiscovery.findAnnotatedClasses()

    JerseyAnnotationDiscovery discovery = new JerseyAnnotationDiscovery();
    discovery.scan(urlClassLoader);

    bind(AnnotationDiscovery.class).toInstance(discovery);

    for (AnnotatedClass annotatedClass : discovery.findAnnotatedClasses(org.platformlayer.xaas.Module.class)) {
      Class<?> moduleClass = annotatedClass.getSubjectClass();

      log.info("Installing extension module: " + moduleClass);

      com.google.inject.Module module;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.