org.dellroad.stuff.vaadin
Annotation Type VaadinConfigurable


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
@Inherited
public @interface VaadinConfigurable

Indicates that the class is a candidate for configuration using the VaadinConfigurableAspect aspect.

Analogous to Spring's @Configurable annotation, but causes beans to be autowired into the Spring application context associated with the current SpringContextApplication Vaadin application instead of the Spring application context associated with the servlet context.

See Also:
org.dellroad.stuff.vaadin

Optional Element Summary
 Autowire autowire
          Whether and how to automatically autowire dependencies.
 boolean dependencyCheck
          Whether to enable dependency checking.
 boolean preConstruction
          Whether to inject dependencies prior to constructor execution.
 String value
          Configuration bean definition template name, if any.
 

value

public abstract String value
Configuration bean definition template name, if any.

Default:
""

autowire

public abstract Autowire autowire
Whether and how to automatically autowire dependencies.

Default:
org.springframework.beans.factory.annotation.Autowire.NO

dependencyCheck

public abstract boolean dependencyCheck
Whether to enable dependency checking.

Default:
false

preConstruction

public abstract boolean preConstruction
Whether to inject dependencies prior to constructor execution.

Default:
false