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

io.smallrye.beanbag.AllBeansResolver Maven / Gradle / Ivy

The newest version!
package io.smallrye.beanbag;

import java.util.List;

/**
 * A supplier that resolves all bean from a scope.
 */
final class AllBeansResolver implements BeanSupplier> {
    private final Class type;
    private final String name;
    private final DependencyFilter filter;

    AllBeansResolver(final Class type, final String name, final DependencyFilter filter) {
        this.type = type;
        this.name = name;
        this.filter = filter;
    }

    public List get(Scope scope) {
        return scope.getAllBeans(type, name, filter);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy