io.katharsis.locator.JsonServiceLocator Maven / Gradle / Ivy
package io.katharsis.locator;
/**
* Central interface to provide domain repositories to the framework. Each repository is fetched from implementation
* of this locator.
*/
public interface JsonServiceLocator {
/**
* Get an instance of a class
*
* @param clazz class to be searched for
* @param type of returning object
* @return instance of a class of type T which implements/extends or is an instance of clazz
*/
T getInstance(Class clazz);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy