Package play.db

Class DBModule.NamedDatabaseProvider

  • All Implemented Interfaces:
    javax.inject.Provider<Database>
    Enclosing class:
    DBModule

    public static class DBModule.NamedDatabaseProvider
    extends Object
    implements javax.inject.Provider<Database>
    Inject provider for named databases.
    • Constructor Detail

      • NamedDatabaseProvider

        public NamedDatabaseProvider​(String name)
    • Method Detail

      • get

        public Database get()
        Specified by:
        get in interface javax.inject.Provider<Database>