public class WebThrowSafeAnnotationConfig extends WebActionAnnotationConfig
annotation, applicationContext
Constructor and Description |
---|
WebThrowSafeAnnotationConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
addThrowSafe(ActionBuilder actionBuilder,
ComponentRegistry componentRegistry,
ThrowableEntry source) |
protected void |
addThrowSafe(ControllerBuilder controllerBuilder,
ComponentRegistry componentRegistry,
ThrowableEntry source) |
Object |
applyConfiguration(Object source,
Object builder,
ComponentRegistry componentRegistry)
Aplica o recurso na entidade.
|
protected 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.
|
innerApplyConfiguration, throwsSafe
addParameters, addResultAction, createActionView, getView, getView
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)
protected Object applyThrowSafe(Object source, Object builder, ComponentRegistry componentRegistry)
protected void addThrowSafe(ActionBuilder actionBuilder, ComponentRegistry componentRegistry, ThrowableEntry source)
protected void addThrowSafe(ControllerBuilder controllerBuilder, ComponentRegistry componentRegistry, ThrowableEntry source)
Copyright © 2018 Brandao. All rights reserved.