io.github.amayaframework.di.scheme.Scheme 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.scheme;
import io.github.amayaframework.di.Artifact;
import java.util.Set;
/**
* An interface describing some abstract schema that defines
* the correspondence between artifacts and a dependent entity.
*
* @param dependent entity type
*/
public interface Scheme {
/**
* Returns an object describing the dependent entity.
*
* @return non-null dependent entity
*/
T getTarget();
/**
* Returns the set of artifacts required by the dependent entity.
*
* @return non-null set of artifacts
*/
Set getArtifacts();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy