@Component(value="core_JmixModulesAwareBeanSelector")
public class JmixModulesAwareBeanSelector
extends java.lang.Object
@JmixModule
dependencies (where
core is on top and an application is at bottom).Constructor and Description |
---|
JmixModulesAwareBeanSelector() |
Modifier and Type | Method and Description |
---|---|
<T> T |
selectFrom(java.util.Collection<T> beans)
Returns a bean that belongs to the lower module in the hierarchy of
@JmixModule dependencies. |
@Nullable public <T> T selectFrom(java.util.Collection<T> beans)
@JmixModule
dependencies.beans
- collection of beans to select from