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

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

/**
 * An interface describing an abstract factory that creates schemes for the specified classes.
 */
public interface SchemeFactory {

    /**
     * Creates a scheme for the specified class.
     *
     * @param clazz the specified class, must be non-null
     * @return the created scheme
     * @throws IllegalTypeException   if a type has been detected that cannot be used as an artifact (optional)
     * @throws IllegalMemberException if a class member has been detected that cannot be used for injection (optional)
     * @throws IllegalClassException  if it is not possible to build a schema for the specified class (optional)
     */
    ClassScheme create(Class clazz);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy