Package org.platformlayer.xaas.discovery

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


    bind(DataSource.class).toProvider(GuiceDataSourceProvider.bind("platformlayer.jdbc.")).asEagerSingleton();

    URLClassLoader urlClassLoader = (URLClassLoader) Thread.currentThread().getContextClassLoader();
    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();
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.