![JAR search and dependency download from the Maven repository](/logo.png)
io.smallrye.beanbag.AllBeansResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smallrye-beanbag Show documentation
Show all versions of smallrye-beanbag Show documentation
A trivial programmatic bean container implementation
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