ThisClassLoaderEvolutionsReader

play.api.db.evolutions.ThisClassLoaderEvolutionsReader

Evolutions reader that reads evolution files from its own classloader. Only suitable for simple (flat) classloading environments.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

Read the evolutions for the given db

Read the evolutions for the given db

Attributes

Inherited from:
ResourceEvolutionsReader
def loadResource(db: String, revision: Int): Option[InputStream]

Load the evolutions resource for the given database and revision.

Load the evolutions resource for the given database and revision.

Attributes

Returns

An InputStream to consume the resource, if such a resource exists.

Inherited from:
ClassLoaderEvolutionsReader