Using the official CDI plugin I have a UI declared like this:
@Push
@PreserveOnRefresh
@CDIUI
public class MainUI extends UI{
Starting it in Glassfish 4 I get the following output:
[code]
INFO: UIScopedContext registered
INFO: Registering WebSocket filter for url pattern /*
INFO: Initializing Servlet Context*
INFO: Initializing web context for path /myproject-1.0
INFO: Discovering Vaadin UIs…
INFO: 1 beans inheriting from UI discovered!
INFO: Vaadin UI com.myproject.MainUI is marked as @CDIUI without context path, this UI is accessible from context root of deployment
INFO: Available Vaadin UIs for CDI deployment
INFO: Registering VaadinServlet with CDIUIProvider
INFO: Mapping VaadinServlet to /*
INFO: Done deploying Vaadin UIs
[/code]I’m curious about the line Available Vaadin UIs for CDI deployment
is empty. Shouldn’t the MainUI above be listed within the brackets [ MainUI]
.
Thanks,
Fredrik