Package play.utils.meta.cp

Examples of play.utils.meta.cp.ClasspathScanningModelRegistry


      log.debug("initialize <-");
    ClassLoader appClassloader = Play.classloader(Play.current());
    ClassLoader libClassloader = getClass().getClassLoader();
    ClassLoader[] classLoaders = new ClassLoader[] { appClassloader, libClassloader };
    ConverterRegistry converters = new ClasspathScanningConverterRegistry(classLoaders);
    models = new ClasspathScanningModelRegistry(converters, classLoaders);
    ControllerRegistry crudControllers = new ClasspathScanningControllerRegistry(global, models, classLoaders);
    dynamicRestController = new RouterRestController(crudControllers, models);
    dynamicCrudController = new RouterCrudController(crudControllers, models, appClassloader);
    instance = this;
  }
View Full Code Here

TOP

Related Classes of play.utils.meta.cp.ClasspathScanningModelRegistry

Copyright © 2018 www.massapicom. 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.