Components instantiated by the framework

    Your route targets, route layouts, and exception targets become managed beans. They look just the same as without the add-on, but CDI features are available.

    An example of a minimal route target using @Inject:

    Components injected into polymer template classes by @id become managed beans.

    For example:

    Java

    HTML

    You should not need a custom UI subclass. Though dependency injection can be achieved, just in case. Use BeanManager in your overridden UI.init. Through Deltaspike’s for example.