-
Type:
New Feature
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: facesbridge-api-5.0.0, facesbridge-tck-5.0.0, facesbridge-spec-5.0.0
-
Fix Version/s: facesbridge-api-5.0.0, facesbridge-tck-5.0.0, facesbridge-spec-5.0.0
-
Component/s: FacesBridge API, FacesBridge Spec, FacesBridge TCK
-
Labels:None
If a web archive contains a WEB-INF/beans.xml descriptor, then the portlet container will attempt to register all
portlets annotated with @PortletConfiguration as well as any portlets defined in WEB-INF/portlet.xml as bean portlets.
The FacesBridge must support bean portlet registration but requires the developer to use GenericFacesPortlet (or a
class that extends GenericFacesPortlet). To this end, the GenericFacesPortlet class must be annotated with
@javax.enterprise.context.ApplicationScoped which will ensure that the bean portlet is registered as a singleton.