public interface AnnotationConfig
Modifier and Type | Method and Description |
---|---|
Object |
applyConfiguration(Object source,
Object builder,
ComponentRegistry componentRegistry)
Aplica o recurso na entidade.
|
AnnotationConfigEntry |
getConfiguration()
Obtém a configuração.
|
Class<? extends Annotation>[] |
getExecutionOrder()
Obtém a ordem de execução dos recursos do próximo nível.
|
Converter |
getSourceConverter()
Obtém o conversor dos dados de entrada.
|
boolean |
isApplicable(Object source)
Verifica se o recurso vai ser aplicado à entidade.
|
void |
setApplicationContext(ConfigurableApplicationContext applicationContext) |
void |
setConfiguration(AnnotationConfigEntry annotation)
Define a configuração.
|
void |
setSourceConverter(Converter value)
Define o conversor dos dados de entrada.
|
void setApplicationContext(ConfigurableApplicationContext applicationContext)
void setSourceConverter(Converter value)
Converter getSourceConverter()
void setConfiguration(AnnotationConfigEntry annotation)
AnnotationConfigEntry getConfiguration()
boolean isApplicable(Object source)
source
- Entidade.Object applyConfiguration(Object source, Object builder, ComponentRegistry componentRegistry)
source
- Entidade.builder
- Construtor da entidade.componentRegistry
- Regsitro dos componentes da aplicação.Class<? extends Annotation>[] getExecutionOrder()
Copyright © 2018 Brandao. All rights reserved.