public class ActionAnnotationConfig extends AbstractAnnotationConfig
annotation, applicationContext
Constructor and Description |
---|
ActionAnnotationConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameters(ParametersBuilder parametersBuilder,
ActionEntry method,
ComponentRegistry componentRegistry) |
protected void |
addResultAction(ComponentBuilder builder,
ResultActionEntry method,
ComponentRegistry componentRegistry) |
Object |
applyConfiguration(Object source,
Object builder,
ComponentRegistry componentRegistry)
Aplica o recurso na entidade.
|
protected String |
createActionView(ActionBuilder action,
ComponentRegistry componentRegistry,
String view) |
protected String |
getView(ActionEntry actionEntry,
View viewAnnotation,
ComponentRegistry componentRegistry) |
protected String |
getView(View viewAnnotation,
ComponentRegistry componentRegistry) |
protected Object |
innerApplyConfiguration(Object source,
Object builder,
ComponentRegistry componentRegistry) |
boolean |
isApplicable(Object source)
Verifica se o recurso vai ser aplicado à entidade.
|
protected void |
throwsSafe(ActionBuilder builder,
ActionEntry method,
ComponentRegistry componentRegistry) |
applyInternalConfiguration, getConfiguration, getExecutionOrder, getSourceConverter, setApplicationContext, setConfiguration, setSourceConverter
public Object applyConfiguration(Object source, Object builder, ComponentRegistry componentRegistry)
AnnotationConfig
source
- Entidade.builder
- Construtor da entidade.componentRegistry
- Regsitro dos componentes da aplicação.protected Object innerApplyConfiguration(Object source, Object builder, ComponentRegistry componentRegistry)
protected void addResultAction(ComponentBuilder builder, ResultActionEntry method, ComponentRegistry componentRegistry)
protected String getView(ActionEntry actionEntry, View viewAnnotation, ComponentRegistry componentRegistry)
protected String createActionView(ActionBuilder action, ComponentRegistry componentRegistry, String view)
protected void addParameters(ParametersBuilder parametersBuilder, ActionEntry method, ComponentRegistry componentRegistry)
protected void throwsSafe(ActionBuilder builder, ActionEntry method, ComponentRegistry componentRegistry)
protected String getView(View viewAnnotation, ComponentRegistry componentRegistry)
public boolean isApplicable(Object source)
AnnotationConfig
source
- Entidade.Copyright © 2018 Brandao. All rights reserved.