net.anotheria.anoprise.metafactory.FactoryResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
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.
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 extends ServiceFactory extends Service>> resolveFactory(String serviceClass);
/**
* Returns the priority of this resolver. The
* @return resolver priority
*/
int getPriority();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy