public interface ComponentGenerationStrategy
Modifier and Type | Field and Description |
---|---|
static int |
HIGHEST_PLATFORM_PRECEDENCE
Defines the highest precedence for
Ordered component factories of the platform. |
static int |
LOWEST_PLATFORM_PRECEDENCE
Defines the lowest precedence for
Ordered component factories of the platform. |
Modifier and Type | Method and Description |
---|---|
Component |
createComponent(ComponentGenerationContext context)
Creates a component according to the given
ComponentGenerationContext . |
static final int HIGHEST_PLATFORM_PRECEDENCE
Ordered
component factories of the platform.static final int LOWEST_PLATFORM_PRECEDENCE
Ordered
component factories of the platform.@Nullable Component createComponent(ComponentGenerationContext context)
ComponentGenerationContext
.context
- the ComponentGenerationContext
instanceComponentGenerationContext