com.liferay.faces.util.context
Class FacesRequestContextFactory

java.lang.Object
  extended by com.liferay.faces.util.context.FacesRequestContextFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<FacesRequestContextFactory>

Deprecated. Please use FacesContextHelperFactory instead.

@Deprecated
public abstract class FacesRequestContextFactory
extends Object
implements javax.faces.FacesWrapper<FacesRequestContextFactory>

Author:
Kyle Stiemann

Constructor Summary
FacesRequestContextFactory()
          Deprecated.  
 
Method Summary
abstract  FacesRequestContext getFacesRequestContext()
          Deprecated. Call FacesContextHelperFactory.getFacesContextHelper() instead.
static FacesRequestContext getFacesRequestContextInstance()
          Deprecated. Call FacesContextHelperFactory.getFacesContextHelperInstance(javax.faces.context.ExternalContext) instead.
static FacesRequestContext getFacesRequestContextInstance(javax.faces.context.ExternalContext externalContext)
          Deprecated. Call FacesContextHelperFactory.getFacesContextHelperInstance(javax.faces.context.ExternalContext) instead.
abstract  FacesRequestContextFactory getWrapped()
          Deprecated. No replacement available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesRequestContextFactory

public FacesRequestContextFactory()
Deprecated. 
Method Detail

getFacesRequestContextInstance

@Deprecated
public static FacesRequestContext getFacesRequestContextInstance()
Deprecated. Call FacesContextHelperFactory.getFacesContextHelperInstance(javax.faces.context.ExternalContext) instead.

Returns the value of FacesRequestContext.getCurrentInstance(). The returned instance is designed to be used during execution of a request thread, so it is not guaranteed to be Serializable.


getFacesRequestContextInstance

@Deprecated
public static FacesRequestContext getFacesRequestContextInstance(javax.faces.context.ExternalContext externalContext)
Deprecated. Call FacesContextHelperFactory.getFacesContextHelperInstance(javax.faces.context.ExternalContext) instead.

Returns the value of FacesRequestContext.getCurrentInstance(). The returned instance is designed to be used during execution of a request thread, so it is not guaranteed to be Serializable.

Since:
3.1, 2.1, 1.1

getFacesRequestContext

@Deprecated
public abstract FacesRequestContext getFacesRequestContext()
Deprecated. Call FacesContextHelperFactory.getFacesContextHelper() instead.

Returns the value of FacesRequestContext.getCurrentInstance(). The returned instance is designed to be used during execution of a request thread, so it is not guaranteed to be Serializable.


getWrapped

@Deprecated
public abstract FacesRequestContextFactory getWrapped()
Deprecated. No replacement available.

Returns the wrapped factory instance if this factory decorates another. Otherwise, this method returns null.

Specified by:
getWrapped in interface javax.faces.FacesWrapper<FacesRequestContextFactory>


Copyright © 2019 Liferay, Inc.. All rights reserved.