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

io.github.amayaframework.di.scheme.Scheme 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.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