io.github.amayaframework.di.scheme.ExecutableScheme 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.lang.reflect.Executable;
/**
* An interface describing some abstract schema that defines
* the correspondence between artifacts and an {@link Executable}
* entity that depends on them.
*
* @param type of executable implementation
*/
public interface ExecutableScheme extends Scheme {
/**
* Returns an array containing the artifacts in the order in which
* they should be passed when calling the {@link Executable} entity.
* Changing the returned array will not change this scheme.
*
* @return non-null array, containing artifacts
*/
Artifact[] getMapping();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy