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

net.anotheria.anoprise.metafactory.FactoryResolver Maven / Gradle / Ivy

Go to download

Collection of utils for different enterprise class projects. Among other stuff contains Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.

There is a newer version: 4.0.0
Show newest version
package net.anotheria.anoprise.metafactory;

/**
 * Interface for an resolver used by MetaFactory.
 * @author vitaliy
 *
 */
public interface FactoryResolver {

	/**
	 * Resolves an factory. If the factory can't be resolved, returns null. Otherwise the resolved factory, which can be an alias himself, is returned.
	 * @param serviceClass serviceClass
	 * @return resolved factory class
	 */
	Class> resolveFactory(String serviceClass);

	/**
	 * Returns the priority of this resolver. The
	 * @return resolver priority
	 */
	int getPriority();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy