Module org.omnifaces
Package org.omnifaces.cdi
package org.omnifaces.cdi
-
ClassDescriptionCDI bean storage.The CDI annotation
@ContextParamallows you to inject aweb.xmlcontext parameter from the current application in a CDI managed bean.The CDI annotation@Cookieallows you to inject a HTTP request cookie value from the current Faces context in a CDI managed bean.The CDI annotation@Eagerspecifies that a scoped bean is to be eagerly instantiated.Stereo type that designates a bean with one or more methods returningbyte[]orInputStreamas a named application scoped bean specifically for serving graphic images via<o:graphicImage>component or#{o:graphicImageURL()}EL functions.Provides a simple implementation ofInjectionTargetthat can be sub-classed by developers wishing to provide specialized behavior to an existingInjectionTargetinstance.The CDI annotation@Paramallows you to inject, convert and validate a HTTP request or path parameter in a CDI managed bean.The annotation@PostScriptParamallows you to invoke a managed bean method when all<o:scriptParam>values have been set in the associated managed bean.The CDI annotation@Pushallows you to inject aPushContextassociated with a given channel in any container managed artifact in WAR (not in EAR/EJB!).Represents the transport type for push messages.CDI interface to send a message object to the push channel as identified by@Push.The CDI annotation@RateLimitallows you to rate limit method invocations in CDI managed beans based on a configurable client identifier, such as client IP address, user ID, API key, etc.This CDI event will be fired byScriptErrorHandlerwhen an uncaught JavaScript error or unhandled promise rejection is caught in the client.Stereo type that designates a bean as an eagerly instantiated bean with application scope.The CDI view scope annotation, with more optimal handling of bean destroy as compared to standard Faces one.