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

io.github.amayaframework.di.scheme.ExecutableScheme Maven / Gradle / Ivy

Go to download

A framework responsible for monitoring and automating the dependency injection process.

There is a newer version: 2.2.0
Show newest version
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