public class ControllerAnnotationConfig extends AbstractAnnotationConfig
annotation, applicationContext| Constructor and Description |
|---|
ControllerAnnotationConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addActions(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz) |
protected void |
addActions(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz,
List<ActionEntry> actionList) |
protected org.brandao.brutos.ControllerBuilder |
addAlias(org.brandao.brutos.ControllerBuilder builder,
String id) |
protected void |
addProperties(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz) |
Object |
applyConfiguration(Object source,
Object builder,
org.brandao.brutos.ComponentRegistry componentRegistry)
Aplica o recurso na entidade.
|
Object |
applyConfiguration0(Object arg0,
Object arg1,
org.brandao.brutos.ComponentRegistry componentRegistry) |
protected String |
createControllerView(org.brandao.brutos.ControllerBuilder controller,
org.brandao.brutos.ComponentRegistry componentRegistry,
String view) |
protected String |
getView(View viewAnnotation,
org.brandao.brutos.ComponentRegistry componentRegistry) |
protected void |
importBeans(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz) |
boolean |
isApplicable(Object source)
Verifica se o recurso vai ser aplicado à entidade.
|
protected org.brandao.brutos.ControllerBuilder |
registerController(org.brandao.brutos.ComponentRegistry componentRegistry,
String id,
String view,
boolean resolvedView,
org.brandao.brutos.DispatcherType dispatcherType,
String name,
Class<?> classType,
String actionId,
org.brandao.brutos.ActionType actionType) |
protected void |
throwsSafe(org.brandao.brutos.ControllerBuilder builder,
Class<?> clazz,
org.brandao.brutos.ComponentRegistry componentRegistry) |
applyInternalConfiguration, getConfiguration, getExecutionOrder, getSourceConverter, setApplicationContext, setConfiguration, setSourceConverterpublic Object applyConfiguration(Object source, Object builder, org.brandao.brutos.ComponentRegistry componentRegistry)
AnnotationConfigsource - Entidade.builder - Construtor da entidade.componentRegistry - Regsitro dos componentes da aplicação.public Object applyConfiguration0(Object arg0, Object arg1, org.brandao.brutos.ComponentRegistry componentRegistry)
protected org.brandao.brutos.ControllerBuilder registerController(org.brandao.brutos.ComponentRegistry componentRegistry,
String id,
String view,
boolean resolvedView,
org.brandao.brutos.DispatcherType dispatcherType,
String name,
Class<?> classType,
String actionId,
org.brandao.brutos.ActionType actionType)
protected org.brandao.brutos.ControllerBuilder addAlias(org.brandao.brutos.ControllerBuilder builder,
String id)
protected void throwsSafe(org.brandao.brutos.ControllerBuilder builder,
Class<?> clazz,
org.brandao.brutos.ComponentRegistry componentRegistry)
protected String getView(View viewAnnotation, org.brandao.brutos.ComponentRegistry componentRegistry)
protected String createControllerView(org.brandao.brutos.ControllerBuilder controller, org.brandao.brutos.ComponentRegistry componentRegistry, String view)
protected void addProperties(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz)
protected void addActions(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz,
List<ActionEntry> actionList)
protected void addActions(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz)
protected void importBeans(org.brandao.brutos.ControllerBuilder controllerBuilder,
org.brandao.brutos.ComponentRegistry componentRegistry,
Class<?> clazz)
public boolean isApplicable(Object source)
AnnotationConfigsource - Entidade.Copyright © 2018 Brandao. All rights reserved.