Deprecated API
Contents
-
Packages Package Description jakarta.faces.bean
-
Interfaces Interface Description jakarta.resource.spi.security.GenericCredential The preferred way to represent generic credential information is via theorg.ietf.jgss.GSSCredential
interface in J2SE Version 1.4, which provides similar functionality.jakarta.servlet.http.HttpSessionContext As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API.jakarta.servlet.jsp.el.FunctionMapper As of JSP 2.1, replaced byFunctionMapper
jakarta.servlet.jsp.el.VariableResolver As of JSP 2.1, replaced byELResolver
jakarta.servlet.SingleThreadModel As of Java Servlet API 2.4, with no direct replacement.jakarta.xml.bind.Validator since JAXB 2.0
-
Classes Class Description jakarta.faces.application.StateManager.SerializedView This class was not markedSerializable
in the 1.0 version of the spec. It was also not a static inner class, so it can't be made to beSerializable
. Therefore, it is being deprecated in version 1.2 of the spec. The replacement is to use an implementation dependentObject
.jakarta.faces.el.MethodBinding This has been replaced byMethodExpression
.jakarta.faces.el.PropertyResolver This has been replaced byELResolver
.jakarta.faces.el.ValueBinding This has been replaced byValueExpression
.jakarta.faces.el.VariableResolver jakarta.faces.view.facelets.ResourceResolver jakarta.faces.webapp.AttributeTag The Faces implementation must now provide the implementation for this class.jakarta.faces.webapp.ConverterTag This has been partially replaced byConverterELTag
. The remainder of the functionality, namely, the binding facility and the implementation of theConverterTag.createConverter()
method, is now an implementation detail.jakarta.faces.webapp.UIComponentBodyTag All component tags now implementBodyTag
. This class has been replaced byUIComponentELTag
.jakarta.faces.webapp.UIComponentTag Use of this class has been replaced withUIComponentELTag
, which extendsUIComponentClassicTagBase
to add properties that use the Jakarta Expression Language API introduced as part of Jakarta Server Pages 2.1.jakarta.faces.webapp.ValidatorTag This has been partially replaced byValidatorELTag
. The remainder of the functionality, namely, the binding facility and the implementation of theValidatorTag.createValidator()
method, is now an implementation detail.jakarta.servlet.http.HttpUtils As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces.jakarta.servlet.jsp.el.Expression As of JSP 2.1, replaced byValueExpression
jakarta.servlet.jsp.el.ExpressionEvaluator As of JSP 2.1, replaced byExpressionFactory
jakarta.xml.soap.SOAPElementFactory - Usejakarta.xml.soap.SOAPFactory
for creating SOAPElements.
-
Exceptions Exceptions Description jakarta.faces.el.EvaluationException This has been replaced byELException
.jakarta.faces.el.MethodNotFoundException This has been replaced byMethodNotFoundException
.jakarta.faces.el.PropertyNotFoundException This has been replaced byPropertyNotFoundException
.jakarta.faces.el.ReferenceSyntaxException This has been replaced byELException
.jakarta.servlet.jsp.el.ELException As of JSP 2.1, replaced byELException
jakarta.servlet.jsp.el.ELParseException As of JSP 2.1, replaced byELException
-
Annotation Types Annotation Type Description jakarta.faces.bean.ApplicationScoped This has been replaced byjakarta.enterprise.context.ApplicationScoped
, which is a CDI build-in scope with similar semantics.jakarta.faces.bean.CustomScoped This has been replaced by CDI custom scopes andjakarta.enterprise.context.spi.Context
. See 2.4.2 and 6.2 of the CDI specification for further details.jakarta.faces.bean.ManagedBean This has been replaced by the Managed Beans specification in general and specifically the dependency injection, scopes and naming from the CDI specification. Note that the eager attribute for application scoped beans is replaced specifically by observing thejakarta.enterprise.context.Initialized
event forjakarta.enterprise.context.ApplicationScoped
. See 6.7.3 of the CDI spec for further details.jakarta.faces.bean.ManagedProperty This has been replaced byjakarta.faces.annotation.ManagedProperty
, which is a CDI build-in bean with similar semanticsjakarta.faces.bean.NoneScoped This has been replaced byjakarta.enterprise.context.Dependent
, which is a CDI build-in scope with approximately similar semantics.jakarta.faces.bean.ReferencedBean The referenced-bean concept was used for a design time promise which however did not achieve widespread adoption. There is no direct replacement for this other than using the XML variant in faces-config.xml.jakarta.faces.bean.RequestScoped This has been replaced byjakarta.enterprise.context.RequestScoped
, which is a CDI build-in scope with similar semantics.jakarta.faces.bean.SessionScoped This has been replaced byjakarta.enterprise.context.SessionScoped
, which is a CDI build-in scope with similar semantics.jakarta.faces.bean.ViewScoped This has been replaced byjakarta.faces.view.ViewScoped
. The functionality of this corresponding annotation is identical to this one, but it is implemented as a CDI custom scope.jakarta.jws.soap.InitParam jakarta.jws.soap.SOAPMessageHandler jakarta.jws.soap.SOAPMessageHandlers As of JSR-181 2.0 with no replacement.
-
Fields Field Description jakarta.faces.component.NamingContainer.SEPARATOR_CHAR jakarta.faces.component.UIComponent.bindings jakarta.faces.component.UIComponent.CURRENT_COMPONENT jakarta.faces.component.UIComponent.CURRENT_COMPOSITE_COMPONENT jakarta.faces.validator.Validator.NOT_IN_RANGE_MESSAGE_ID jakarta.persistence.Persistence.PERSISTENCE_PROVIDER TODO: Either change TCK reference to PERSISTENCE_PROVIDER field to expect "jakarta.persistence.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests.jakarta.persistence.Persistence.providers jakarta.servlet.jsp.tagext.BodyTag.EVAL_BODY_TAG As of Java JSP API 1.2, use BodyTag.EVAL_BODY_BUFFERED or IterationTag.EVAL_BODY_AGAIN.
-
Constructors Constructor Description jakarta.faces.application.ApplicationFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.ApplicationWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.ConfigurableNavigationHandlerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.NavigationCaseWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.NavigationHandlerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.ResourceHandlerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.ResourceWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.StateManagerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.application.ViewHandlerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.component.visit.VisitContextFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.component.visit.VisitContextWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.ExceptionHandlerFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.ExceptionHandlerWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.ExternalContextFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.ExternalContextWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.FacesContextFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.FacesContextWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.FlashFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.FlashWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.PartialViewContextFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.PartialViewContextWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.context.ResponseWriterWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.flow.FlowHandlerFactoryWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.lifecycle.ClientWindowFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.lifecycle.ClientWindowWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.lifecycle.LifecycleFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.lifecycle.LifecycleWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.render.RendererWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.render.RenderKitFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.render.RenderKitWrapper() Use the other constructor taking the implementation being wrapped.jakarta.faces.view.facelets.FaceletCacheFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.view.facelets.TagHandlerDelegateFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.view.ViewDeclarationLanguageFactory() Use the other constructor taking the implementation being wrapped.jakarta.faces.view.ViewDeclarationLanguageWrapper() Use the other constructor taking the implementation being wrapped.jakarta.servlet.UnavailableException(Servlet, String) As of Java Servlet API 2.2, useUnavailableException(String)
instead.
-
Annotation Type Elements Annotation Type Element Description jakarta.jws.HandlerChain.name() As of JSR-181 2.0 with no replacement.