public class ThrowSafeAnnotationConfig extends ActionAnnotationConfig
annotation, applicationContext
Constructor and Description |
---|
ThrowSafeAnnotationConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
addThrowSafe(ActionBuilder actionBuilder,
ComponentRegistry componentRegistry,
ThrowableEntry throwSafe) |
protected void |
addThrowSafe(ControllerBuilder controllerBuilder,
ComponentRegistry componentRegistry,
ThrowableEntry throwSafe) |
Object |
applyConfiguration(Object source,
Object builder,
ComponentRegistry componentRegistry)
Aplica o recurso na entidade.
|
Object |
applyThrowSafe(Object source,
Object builder,
ComponentRegistry componentRegistry) |
protected Object |
applyThrowSafeAction(Object source,
Object builder,
ComponentRegistry componentRegistry) |
boolean |
isApplicable(Object source)
Verifica se o recurso vai ser aplicado à entidade.
|
addParameters, addResultAction, createActionView, getView, getView, innerApplyConfiguration, throwsSafe
applyInternalConfiguration, getConfiguration, getExecutionOrder, getSourceConverter, setApplicationContext, setConfiguration, setSourceConverter
public boolean isApplicable(Object source)
AnnotationConfig
isApplicable
in interface AnnotationConfig
isApplicable
in class ActionAnnotationConfig
source
- Entidade.public Object applyConfiguration(Object source, Object builder, ComponentRegistry componentRegistry)
AnnotationConfig
applyConfiguration
in interface AnnotationConfig
applyConfiguration
in class ActionAnnotationConfig
source
- Entidade.builder
- Construtor da entidade.componentRegistry
- Regsitro dos componentes da aplicação.protected Object applyThrowSafeAction(Object source, Object builder, ComponentRegistry componentRegistry)
public Object applyThrowSafe(Object source, Object builder, ComponentRegistry componentRegistry)
protected void addThrowSafe(ActionBuilder actionBuilder, ComponentRegistry componentRegistry, ThrowableEntry throwSafe)
protected void addThrowSafe(ControllerBuilder controllerBuilder, ComponentRegistry componentRegistry, ThrowableEntry throwSafe)
Copyright © 2018 Brandao. All rights reserved.