Top Deprecated
Mojarra 2.4.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
com.sun.faces.application.ActionListenerImpl.getNavigationOutcome(FacesContext context, MethodBinding binding)

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ActionListenerImpl.invokeNavigationHandling(FacesContext context, UIComponent source, MethodBinding binding, String outcome)

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.getLegacyPRChainHead()

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

Returns:

the PropertyResolver called through Application.getPropertyResolver()
com.sun.faces.application.ApplicationAssociate.getLegacyPropertyResolver
()

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.getLegacyVRChainHead()

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

Returns:

the VariableResolver called through Application.getVariableResolver()
com.sun.faces.application.ApplicationAssociate.getLegacyVariableResolver
()

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.legacyPRChainHead

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.legacyPropertyResolver

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.legacyVRChainHead

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.legacyVariableResolver

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.setLegacyPRChainHead(PropertyResolver
PropertyResolver
resolver
)

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.setLegacyPropertyResolver(PropertyResolver
PropertyResolver
resolver
)

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.setLegacyVRChainHead(VariableResolver
VariableResolver
resolver
)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationAssociate.setLegacyVariableResolver(VariableResolver
VariableResolver
resolver
)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationImpl.createComponent(ValueBinding
ValueBinding representing a component value binding expression (typically specified by the component attribute of a custom tag)
componentBinding
,
FacesContext
FacesContext for the current request
context
,
String
Component type to create if the ValueBinding does not return a component instance
componentType
)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ApplicationImpl.createMethodBinding(String
Method binding expression for which to return a MethodBinding instance
ref
,
Class<?>[]
Parameter signatures that must be compatible with those of the method to be invoked, or a zero-length array or null for a method that takes no parameters
params
)

com.sun.faces.application.ApplicationImpl.createValueBinding(String
Value binding expression for which to return a ValueBinding instance
ref
)

com.sun.faces.application.MethodBindingMethodExpressionAdapter

Deprecated as a consequence of MethodBinding being deprecated.

com.sun.faces.application.MethodExpressionMethodBindingAdapter.MethodExpressionMethodBindingAdapter(MethodBinding binding)

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.MethodExpressionMethodBindingAdapter.binding

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.MethodExpressionMethodBindingAdapter.getWrapped()

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ValueBindingValueExpressionAdapter

Deprecated as a consequence of ValueBinding being deprecated.

com.sun.faces.application.ValueExpressionValueBindingAdapter.ValueExpressionValueBindingAdapter(ValueBinding binding)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ValueExpressionValueBindingAdapter.binding

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.ValueExpressionValueBindingAdapter.getWrapped()

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.application.annotation.ManagedBeanConfigHandler.getBeanInfo(Class<?> annotatedClass, ManagedBean metadata)

Deprecated as a consequence of ManagedBean being deprecated. See corresponding docs for further information.

com.sun.faces.application.annotation.ManagedBeanConfigHandler.getName(ManagedBean managedBean, Class<?> annotatedClass)

Deprecated as a consequence of ManagedBean being deprecated. See corresponding docs for further information.

com.sun.faces.application.applicationimpl.ExpressionLanguage.propertyResolver

Deprecated as a consequence of PropertyResolverImpl being deprecated. See corresponding docs for further information.

com.sun.faces.application.applicationimpl.ExpressionLanguage.variableResolver

Deprecated as a consequence of VariableResolverImpl being deprecated. See corresponding docs for further information.

com.sun.faces.application.applicationimpl.InstanceFactory.createComponent(ValueBinding componentBinding, FacesContext context, String componentType)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.el.ChainAwareVariableResolver

Deprecated as a consequence of VariableResolver being deprecated.

com.sun.faces.el.DummyPropertyResolverImpl

Deprecated as a consequence of PropertyResolver being deprecated.

Returns:

the PropertyResolvers set via javax.faces.application.Application#setPropertyResolver(javax.faces.el.PropertyResolver) or, if that is null, return the PropertyResolver chain from the parsed configuration resources. If either of those are null, and provideDefault is true, return the DummyPropertyResolverImpl.
com.sun.faces.el.ELUtils.getDelegatePR
(ApplicationAssociate
the ApplicationAssociate
associate
,
boolean
whether or not to return a DummpyPropertyResolverImpl
provideDefault
)

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

Returns:

the VariableResolvers set via javax.faces.application.Application#setVariableResolver(javax.faces.el.VariableResolver) or, if that is null, return the VariableResolver chain from the parsed configuration resources. If either of those are null, , and provideDefault is true, return the ChainAwareVariableResolver.
com.sun.faces.el.ELUtils.getDelegateVR
(ApplicationAssociate
the ApplicationAssociate
associate
,
boolean
whether or not to return a DummpyPropertyResolverImpl
provideDefault
)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.PropertyResolverChainWrapper.PropertyResolverChainWrapper(PropertyResolver propertyResolver)

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.PropertyResolverChainWrapper.legacyPR

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.PropertyResolverImpl

Deprecated as a consequence of PropertyResolver being deprecated.

com.sun.faces.el.PropertyResolverImpl.delegate

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.PropertyResolverImpl.setDelegate(PropertyResolver delegate)

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverChainWrapper.VariableResolverChainWrapper(VariableResolver variableResolver)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverChainWrapper.legacyVR

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverChainWrapper.setWrapped(VariableResolver newVR)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverImpl

Deprecated as a consequence of VariableResolver being deprecated.

com.sun.faces.el.VariableResolverImpl.delegate

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverImpl.getDelegate()

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.el.VariableResolverImpl.setDelegate(VariableResolver delegate)

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.FaceletCache._faceletFactory

Deprecated as a consequence of FaceletCache.InstanceFactory being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.FaceletCache._metafaceletFactory

Deprecated as a consequence of FaceletCache.InstanceFactory being deprecated. See corresponding docs for further information.

Returns:

factory for creating Facelets
com.sun.faces.facelets.FaceletCache.getFaceletInstanceFactory
()

Deprecated as a consequence of FaceletCache.InstanceFactory being deprecated. See corresponding docs for further information.

Returns:

factory for creating MetadataFacelets
com.sun.faces.facelets.FaceletCache.getMetadataFaceletInstanceFactory
()

Deprecated as a consequence of FaceletCache.InstanceFactory being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.FaceletCache.init(FaceletCache.InstanceFactory<V>
InstanceFactory for creating Facelet instances
faceletFactory
,
FaceletCache.InstanceFactory<V>
InstanceFactory for creating Metadata Facelet instances
metafaceletFactory
)

Deprecated as a consequence of FaceletCache.InstanceFactory being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.PrivateApiFaceletCacheAdapter.PrivateApiFaceletCacheAdapter(FaceletCache<V> privateApi)

Deprecated as a consequence of FaceletCache being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.PrivateApiFaceletCacheAdapter.privateApi

Deprecated as a consequence of FaceletCache being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.compiler.UILeaf.getValueBinding(String
Name of the attribute or property for which to retrieve a ValueBinding
binding
)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.compiler.UILeaf.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.el.LegacyELContext.LegacyELResolver.getPropertyResolver()

Deprecated as a consequence of PropertyResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.el.LegacyELContext.LegacyELResolver.getVariableResolver()

Deprecated as a consequence of VariableResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.DefaultFaceletFactory(Compiler compiler, ResourceResolver resolver)

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.DefaultFaceletFactory(Compiler compiler, ResourceResolver resolver, long refreshPeriod)

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.DefaultFaceletFactory(Compiler compiler, ResourceResolver resolver, long refreshPeriod, FaceletCache<V> cache)

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.getResourceResolver()

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.init(Compiler compiler, ResourceResolver resolver, long refreshPeriod, FaceletCache<V> cache)

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultFaceletFactory.resolver

Deprecated as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.impl.DefaultResourceResolver

Deprecated as a consequence of ResourceResolver being deprecated.

com.sun.faces.facelets.tag.composite.BehaviorHolderWrapper.getValueBinding(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

com.sun.faces.facelets.tag.composite.BehaviorHolderWrapper.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler.LegacySetPropertyListener.LegacySetPropertyListener(ValueBinding value, ValueBinding target)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler.LegacySetPropertyListener.target

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler.LegacySetPropertyListener.value

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

Returns:

the UI component.
javax.faces.application.Application.createComponent
(ValueBinding
ValueBinding representing a component value binding expression (typically specified by the component attribute of a custom tag)
componentBinding
,
FacesContext
FacesContext for the current request
context
,
String
Component type to create if the ValueBinding does not return a component instance
componentType
)

This has been replaced by createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, java.lang.String).

Returns:

the method binding.
javax.faces.application.Application.createMethodBinding
(String
Method binding expression for which to return a MethodBinding instance
ref
,
Class<?>[]
Parameter signatures that must be compatible with those of the method to be invoked, or a zero-length array or null for a method that takes no parameters
params
)

This has been replaced by calling getExpressionFactory then ExpressionFactory#createMethodExpression.

Returns:

the value binding.
javax.faces.application.Application.createValueBinding
(String
Value binding expression for which to return a ValueBinding instance
ref
)

This has been replaced by calling getExpressionFactory then ExpressionFactory#createValueExpression.

Returns:

the property resolver.
javax.faces.application.Application.getPropertyResolver
()

This has been replaced by getELResolver.

Returns:

the variable resolver.
javax.faces.application.Application.getVariableResolver
()

This has been replaced by getELResolver.

javax.faces.application.Application.setPropertyResolver(PropertyResolver
The new PropertyResolver instance
resolver
)

The recommended way to affect the execution of the EL is to provide an <el-resolver> element at the right place in the application configuration resources which will be considered in the normal course of expression evaluation. This method now will cause the argument resolver to be wrapped inside an implementation of ELResolver and exposed to the EL resolution system as if the user had called addELResolver.

javax.faces.application.Application.setVariableResolver(VariableResolver
The new VariableResolver instance
resolver
)

The recommended way to affect the execution of the EL is to provide an <el-resolver> element at the right place in the application configuration resources which will be considered in the normal course of expression evaluation. This method now will cause the argument resolver to be wrapped inside an implementation of ELResolver and exposed to the EL resolution system as if the user had called addELResolver.

javax.faces.application.ApplicationFactory.ApplicationFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.ApplicationWrapper.ApplicationWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.ApplicationWrapper.createComponent(ValueBinding
ValueBinding representing a component value binding expression (typically specified by the component attribute of a custom tag)
componentBinding
,
FacesContext
FacesContext for the current request
context
,
String
Component type to create if the ValueBinding does not return a component instance
componentType
)

See superclass for alternative.

javax.faces.application.ApplicationWrapper.createMethodBinding(String
Method binding expression for which to return a MethodBinding instance
ref
,
Class<?>[]
Parameter signatures that must be compatible with those of the method to be invoked, or a zero-length array or null for a method that takes no parameters
params
)

See superclass for alternative.

javax.faces.application.ApplicationWrapper.createValueBinding(String
Value binding expression for which to return a ValueBinding instance
ref
)

Deprecated as a consequence of ValueBinding being deprecated. See corresponding docs for further information.

javax.faces.application.ApplicationWrapper.evaluateExpressionGet(FacesContext
the Faces context.
context
,
String
the expression.
expression
,
Class<? extends T>
the expected type.
expectedType
)

See superclass for alternative.

javax.faces.application.ConfigurableNavigationHandlerWrapper.ConfigurableNavigationHandlerWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.ResourceHandlerWrapper.ResourceHandlerWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.ResourceWrapper.ResourceWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.StateManager.SerializedView

This class was not marked Serializable in the 1.0 version of the spec. It was also not a static inner class, so it can't be made to be Serializable. Therefore, it is being deprecated in version 1.2 of the spec. The replacement is to use an implementation dependent Object.

Returns:

the component state, or null.
javax.faces.application.StateManager.getComponentStateToSave
(FacesContext
FacesContext for the current request
context
)

the distinction between tree structure and component state is now an implementation detail. The default implementation returns null.

Returns:

the tree structure, or null.
javax.faces.application.StateManager.getTreeStructureToSave
(FacesContext
FacesContext for the current request
context
)

the distinction between tree structure and component state is now an implementation detail. The default implementation returns null.

javax.faces.application.StateManager.restoreComponentState(FacesContext
FacesContext for the current request
context
,
UIViewRoot
UIViewRoot returned by a previous call to restoreTreeStructure()
viewRoot
,
String
the renderKitId used to render this response. Must not be null.
renderKitId
)

the distinction between tree structure and component state is now an implementation detail. The default implementation does nothing.

Returns:

the view root, or null.
javax.faces.application.StateManager.restoreTreeStructure
(FacesContext
FacesContext for the current request
context
,
String
View identifier of the view to be restored
viewId
,
String
the renderKitId used to render this response. Must not be null.
renderKitId
)

the distinction between tree structure and component state is now an implementation detail. The default implementation returns null.

Returns:

the view root, or null.
javax.faces.application.StateManager.restoreView
(FacesContext
FacesContext for the current request
context
,
String
View identifier of the view to be restored
viewId
,
String
the renderKitId used to render this response. Must not be null.
renderKitId
)

Returns:

the serialized view, or null.
javax.faces.application.StateManager.saveSerializedView
(FacesContext
FacesContext for the current request
context
)

this has been replaced by saveView. The default implementation calls saveView and inspects the return. If the return is an Object [], it casts the result to an Object [] wrapping the first and second elements in an instance of SerializedView, which it then returns. Otherwise, it returns null

Returns:

the saved view.
javax.faces.application.StateManager.saveView
(FacesContext
FacesContext for the current request
context
)

javax.faces.application.StateManager.writeState(FacesContext
FacesContext for the current request
context
,
StateManager.SerializedView
the serialized state to be written
state
)

This method has been replaced by writeState(javax.faces.context.FacesContext, java.lang.Object). The default implementation calls the non-deprecated variant of the method passing an Object [] as the second argument, where the first element of the array is the return from getStructure() and the second is the return from getState() on the argument state.

javax.faces.application.StateManagerWrapper.StateManagerWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.application.StateManagerWrapper.saveSerializedView(FacesContext
FacesContext for the current request
context
)

Deprecated as a consequence of StateManager.SerializedView being deprecated. See corresponding docs for further information.

javax.faces.application.StateManagerWrapper.writeState(FacesContext
FacesContext for the current request
context
,
StateManager.SerializedView
the serialized state to be written
state
)

Deprecated as a consequence of StateManager.SerializedView being deprecated. See corresponding docs for further information.

javax.faces.application.ViewHandlerWrapper.ViewHandlerWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.bean.ApplicationScoped

This has been replaced by javax.enterprise.context.ApplicationScoped, which is a CDI build-in scope with similar semantics.

javax.faces.bean.CustomScoped

This has been replaced by CDI custom scopes and javax.enterprise.context.spi.Context. See 2.4.2 and 6.2 of the CDI specification for further details.

javax.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 the javax.enterprise.context.Initialized event for javax.enterprise.context.ApplicationScoped. See 6.7.3 of the CDI spec for further details.

javax.faces.bean.ManagedProperty

This has been replaced by javax.faces.annotation.ManagedProperty, which is a CDI build-in bean with similar semantics

javax.faces.bean.NoneScoped

This has been replaced by javax.enterprise.context.Dependent, which is a CDI build-in scope with approximately similar semantics.

javax.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.

javax.faces.bean.RequestScoped

This has been replaced by javax.enterprise.context.RequestScoped, which is a CDI build-in scope with similar semantics.

javax.faces.bean.SessionScoped

This has been replaced by javax.enterprise.context.SessionScoped, which is a CDI build-in scope with similar semantics.

javax.faces.bean.ViewScoped

This has been replaced by javax.faces.view.ViewScoped. The functionality of this corresponding annotation is identical to this one, but it is implemented as a CDI custom scope.

javax.faces.component.ActionSource.setActionListener(MethodBinding
The new method binding expression
actionListener
)

This has been replaced by addActionListener(javax.faces.event.ActionListener).

Returns:

the validator as a method binding.
javax.faces.component.EditableValueHolder.getValidator
()

getValidators should be used instead.

javax.faces.component.EditableValueHolder.setValidator(MethodBinding
The new MethodBinding instance
validatorBinding
)

Use addValidator instead, obtaining the argument Validator by creating an instance of javax.faces.validator.MethodExpressionValidator.

javax.faces.component.EditableValueHolder.setValueChangeListener(MethodBinding
The new method binding instance
valueChangeMethod
)

Use addValueChangeListener instead, obtaining the argument ValueChangeListener by creating an instance of javax.faces.event.MethodExpressionValueChangeListener.

javax.faces.component.MethodBindingValidator.MethodBindingValidator(MethodBinding methodBinding)

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.MethodBindingValidator.getWrapped()

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.MethodBindingValidator.methodBinding

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.MethodBindingValueChangeListener.MethodBindingValueChangeListener(MethodBinding methodBinding)

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.MethodBindingValueChangeListener.getWrapped()

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.MethodBindingValueChangeListener.methodBinding

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.UICommand.setAction(MethodBinding
The new MethodBinding expression
action
)

This has been replaced by setActionExpression(javax.el.MethodExpression).

javax.faces.component.UICommand.setActionListener(MethodBinding
The new method binding expression
actionListener
)

This has been replaced by addActionListener(javax.faces.event.ActionListener).

Returns:

the value binding.
javax.faces.component.UIComponent.getValueBinding
(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

This has been replaced by getValueExpression.

javax.faces.component.UIComponent.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression.

javax.faces.component.UIComponentBase.getValueBinding(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

This has been replaced by getValueExpression.

javax.faces.component.UIComponentBase.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression.

javax.faces.component.UIData.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression(java.lang.String, javax.el.ValueExpression).

Returns:

the value binding, or null.
javax.faces.component.UIGraphic.getValueBinding
(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

This has been replaced by getValueExpression(java.lang.String).

javax.faces.component.UIGraphic.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression.

javax.faces.component.UIInput.getValueChangeListener()

Deprecated as a consequence of MethodBinding being deprecated. See corresponding docs for further information.

javax.faces.component.UIInput.setValidator(MethodBinding
The new MethodBinding instance
validatorBinding
)

Use addValidator instead, obtaining the argument Validator by creating an instance of javax.faces.validator.MethodExpressionValidator.

javax.faces.component.UIInput.setValueChangeListener(MethodBinding
the value change listener.
valueChangeListener
)

Use addValueChangeListener instead, obtaining the argument ValueChangeListener by creating an instance of javax.faces.event.MethodExpressionValueChangeListener.

javax.faces.component.UISelectBoolean.getValueBinding(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

This has been replaced by getValueExpression.

javax.faces.component.UISelectBoolean.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression.

Returns:

the value binding, or null
javax.faces.component.UISelectMany.getValueBinding
(String
Name of the attribute or property for which to retrieve a ValueBinding
name
)

this has been replaced by getValueExpression(java.lang.String).

javax.faces.component.UISelectMany.setValueBinding(String
Name of the attribute or property for which to set a ValueBinding
name
,
ValueBinding
The ValueBinding to set, or null to remove any currently set ValueBinding
binding
)

This has been replaced by setValueExpression(java.lang.String, javax.el.ValueExpression).

javax.faces.component.UIViewAction.setAction(final MethodBinding
The new MethodBinding expression
action
)

javax.faces.component.UIViewAction.setActionListener(final MethodBinding
The new method binding expression
actionListener
)

javax.faces.component.visit.VisitContextFactory.VisitContextFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.component.visit.VisitContextWrapper.VisitContextWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.ExceptionHandlerFactory.ExceptionHandlerFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.ExceptionHandlerWrapper.ExceptionHandlerWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.ExternalContextFactory.ExternalContextFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.ExternalContextWrapper.ExternalContextWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.FacesContextFactory.FacesContextFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.FacesContextWrapper.FacesContextWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.FlashFactory.FlashFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.FlashWrapper.FlashWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.PartialViewContextFactory.PartialViewContextFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.PartialViewContextWrapper.PartialViewContextWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.context.ResponseWriterWrapper.ResponseWriterWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.el.VariableResolver

This has been replaced by javax.el.ELResolver when operating with a null base argument.

javax.faces.flow.FlowHandlerFactoryWrapper.FlowHandlerFactoryWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.lifecycle.ClientWindowFactory.ClientWindowFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.lifecycle.ClientWindowWrapper.ClientWindowWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.lifecycle.LifecycleFactory.LifecycleFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.lifecycle.LifecycleWrapper.LifecycleWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.render.RenderKitFactory.RenderKitFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.render.RenderKitWrapper.RenderKitWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.render.RendererWrapper.RendererWrapper()

Use the other constructor taking the implementation being wrapped.

Returns:

the component state portion of the state
javax.faces.render.ResponseStateManager.getComponentStateToRestore
(FacesContext
The FacesContext instance for the current request
context
)

This method has been replaced by getState. The default implementation returns null.

Returns:

the tree structure portion of the state
javax.faces.render.ResponseStateManager.getTreeStructureToRestore
(FacesContext
The FacesContext instance for the current request
context
,
String
View identifier of the view to be restored
viewId
)

This method has been replaced by getState. The default implementation returns null.

javax.faces.render.ResponseStateManager.writeState(FacesContext
The FacesContext instance for the current request
context
,
StateManager.SerializedView
The serialized state information previously saved
state
)

This method has been replaced by writeState(javax.faces.context.FacesContext, java.lang.Object). The default implementation creates a two element Object array with the first element being the return from calling SerializedView#getStructure, and the second being the return from SerializedView#getState. It then passes this Object array to writeState.

javax.faces.view.ViewDeclarationLanguageFactory.ViewDeclarationLanguageFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.view.ViewDeclarationLanguageWrapper.ViewDeclarationLanguageWrapper()

Use the other constructor taking the implementation being wrapped.

javax.faces.view.facelets.FaceletCache.setMemberFactories(FaceletCache.MemberFactory<V>
the MemberFactory instance that will be used to create instances of Facelets.
faceletFactory
,
FaceletCache.MemberFactory<V>
the MemberFactory instance that will be used to create instances of metadata Facelets.
viewMetadataFaceletFactory
)

javax.faces.view.facelets.FaceletCacheFactory.FaceletCacheFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.view.facelets.TagHandlerDelegateFactory.TagHandlerDelegateFactory()

Use the other constructor taking the implementation being wrapped.

javax.faces.webapp.AttributeTag

The Faces implementation must now provide the implementation for this class.

javax.faces.webapp.ConverterTag

This has been partially replaced by ConverterELTag. The remainder of the functionality, namely, the binding facility and the implementation of the createConverter method, is now an implementation detail.

javax.faces.webapp.UIComponentBodyTag

All component tags now implement BodyTag. This class has been replaced by UIComponentELTag.

javax.faces.webapp.UIComponentClassicTagBase.encodeBegin()

No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.

javax.faces.webapp.UIComponentClassicTagBase.encodeChildren()

No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.

javax.faces.webapp.UIComponentClassicTagBase.encodeEnd()

No encoding is done during JSP page execution. Encoding is deferred until the page has completed executing to allow the entire tree to be built before any encoding occurs.

javax.faces.webapp.UIComponentTag

Use of this class has been replaced with UIComponentELTag, which extends UIComponentClassicTagBase to add properties that use the EL API introduced as part of JSP 2.1.

javax.faces.webapp.UIComponentTag.UIComponentTagAdapter

Deprecated as a consequence of UIComponentTag being deprecated. See corresponding docs for further information.

Returns:

the parent tag
javax.faces.webapp.UIComponentTag.getParentUIComponentTag
(PageContext
PageContext for the current page
context
)

Deprecated as a consequence of UIComponentTag being deprecated. See corresponding docs for further information.

javax.faces.webapp.ValidatorTag

This has been partially replaced by ValidatorELTag. The remainder of the functionality, namely, the binding facility and the implementation of the createValidator method, is now an implementation detail.