io.github.amayaframework.di.ArtifactProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amaya-di Show documentation
Show all versions of amaya-di Show documentation
A framework responsible for monitoring and automating the dependency injection process.
package io.github.amayaframework.di;
import com.github.romanqed.jfunc.Function0;
import java.util.function.Function;
/**
* An interface describing the read-only version of the repository - the artifact provider.
* It is used inside the builder implementation when resolving artifacts.
*/
public interface ArtifactProvider extends Function> {
/**
* Gets the instantiator associated with the specified artifact.
*
* @param artifact the specified artifact
* @return null or {@link Function0} instance
*/
Function0
© 2015 - 2025 Weber Informatics LLC | Privacy Policy