|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.util.context.FacesRequestContextFactory
public abstract class FacesRequestContextFactory
| Constructor Summary | |
|---|---|
FacesRequestContextFactory()
|
|
| Method Summary | |
|---|---|
abstract FacesRequestContext |
getFacesRequestContext()
Returns a ThreadLocal singleton instance of FacesRequestContext. |
static FacesRequestContext |
getFacesRequestContextInstance()
Deprecated. Call getFacesRequestContextInstance(ExternalContext) instead.
Returns a |
static FacesRequestContext |
getFacesRequestContextInstance(javax.faces.context.ExternalContext externalContext)
Returns a ThreadLocal singleton instance of FacesRequestContext from the FacesRequestContextFactory found by the FactoryExtensionFinder. |
abstract FacesRequestContextFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacesRequestContextFactory()
| Method Detail |
|---|
@Deprecated public static FacesRequestContext getFacesRequestContextInstance()
getFacesRequestContextInstance(ExternalContext) instead.
Returns a ThreadLocal singleton instance of FacesRequestContext from the FacesRequestContextFactory found by the FactoryExtensionFinder. The returned instance is
designed to be used during execution of a request thread, so it is not guaranteed to be Serializable.
public static FacesRequestContext getFacesRequestContextInstance(javax.faces.context.ExternalContext externalContext)
ThreadLocal singleton instance of FacesRequestContext from the FacesRequestContextFactory found by the FactoryExtensionFinder. The returned instance is designed to be
used during execution of a request thread, so it is not guaranteed to be Serializable.
externalContext - The external context associated with the current faces context. It is needed in order
for the FactoryExtensionFinder to be able to find the factory.public abstract FacesRequestContext getFacesRequestContext()
ThreadLocal singleton instance of FacesRequestContext. The returned instance is
designed to be used during execution of a request thread, so it is not guaranteed to be Serializable.
public abstract FacesRequestContextFactory getWrapped()
getWrapped in interface javax.faces.FacesWrapper<FacesRequestContextFactory>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||