Package com.vaadin.cdi
Annotation Interface CDIUI
All UIs need to be declared with this annotation. CDIUI annotation binds the
lifecycle of a given UI to Vaadin's view lifecycle. There is one UI instance
per tab and so multiple instances per session.
-
Optional Element Summary
Optional Elements -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUSE_CONVENTIONS is treated as a special case that will cause the automatic UI mapping to occur.
-
Field Details
-
USE_CONVENTIONS
USE_CONVENTIONS is treated as a special case that will cause the automatic UI mapping to occur.- See Also:
-
-
Element Details
-
value
String valueAn optional URI mapping. If not specified, the mapping is going to be derived from the simple name of the class. A class WelcomeVaadin is going to be bound to "/welcome-vaadin". A class SampleCDIApplicationUI will be bound to "/sample-cdi-application". Passing an empty string as the value will be interpreted as the root of the application.- Returns:
- the URI mapping of this UI
- Default:
"USE CONVENTIONS"
-