All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.katharsis.locator.JsonServiceLocator Maven / Gradle / Ivy

There is a newer version: 2.6.3
Show newest version
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