org.uqbar.commons.model.Application Maven / Gradle / Ivy
package org.uqbar.commons.model;
/**
* The main application model object that represents the whole application.
* It's a facade to access the persistent application state but you can extend it with your
* own methods and therefore responsabilities.
*
* @author jfernandes
*/
public interface Application {
/**
* Returns the appropriated repo for the given entity type.
*/
public Repo getRepo(Class extends T> type);
}