Deprecated API
Contents
-
Deprecated MethodsMethodDescriptionThe active flag is no longer needed for @TabScoped beans.The active flag is no longer needed for @TabScoped beans since the bean is destroyed together with the tab. Kept for compatibility.This method is tied to the old approach where tabs were registered as
<managed-bean>infaces-config.xml. Since Jakarta EE 10+, managed beans are no longer supported. UseDynTabRegistry.createTab(String)instead.Example:
// Old way (deprecated): DynTab tab = DynTab.getInstance("Users"); // New way: @Inject private DynTabRegistry registry; ... DynTab tab = registry.createTab("UsersDynTab");The active flag is no longer needed for@TabScopedbeans.The active flag is no longer needed for@TabScopedbeans. The bean is active while it exists and is destroyed together with the tab.