Package play.db.ebean

Class ModelsConfigLoader

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.ClassLoader,​java.util.Map<java.lang.String,​java.util.List<java.lang.String>>>

    public class ModelsConfigLoader
    extends java.lang.Object
    implements java.util.function.Function<java.lang.ClassLoader,​java.util.Map<java.lang.String,​java.util.List<java.lang.String>>>
    Given a classloader, load the models configuration.

    This is used by the ebean sbt plugin to get the same models configuration that will be loaded by the app.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> apply​(java.lang.ClassLoader classLoader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • ModelsConfigLoader

        public ModelsConfigLoader()
    • Method Detail

      • apply

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> apply​(java.lang.ClassLoader classLoader)
        Specified by:
        apply in interface java.util.function.Function<java.lang.ClassLoader,​java.util.Map<java.lang.String,​java.util.List<java.lang.String>>>