@Component(value="cuba_DefaultMetaComponentStrategy") public class DefaultComponentGenerationStrategy extends AbstractComponentGenerationStrategy implements org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEHIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE| Constructor and Description |
|---|
DefaultComponentGenerationStrategy(Messages messages) |
| Modifier and Type | Method and Description |
|---|---|
Component |
createComponent(ComponentGenerationContext context)
Creates a component according to the given
ComponentGenerationContext. |
int |
getOrder() |
void |
setComponentsFactory(ComponentsFactory componentsFactory) |
public static final java.lang.String NAME
@Inject public DefaultComponentGenerationStrategy(Messages messages)
@Inject public void setComponentsFactory(ComponentsFactory componentsFactory)
@Nullable public Component createComponent(ComponentGenerationContext context)
ComponentGenerationStrategyComponentGenerationContext.createComponent in interface ComponentGenerationStrategycontext - the ComponentGenerationContext instanceComponentGenerationContextpublic int getOrder()
getOrder in interface org.springframework.core.Ordered