@ProviderType public abstract class ResourceVerifierFactory extends Object implements javax.faces.FacesWrapper<ResourceVerifierFactory>
ResourceVerifier. It implements
FacesWrapper in order to follow the standard factory delegation pattern found in the Faces API. If a concrete
implementation of this class has a one-arg constructor and the type of the argument is ResourceVerifierFactory then the constructor will be called with the next factory instance in the delegation chain.| Constructor and Description |
|---|
ResourceVerifierFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract ResourceVerifier |
getResourceVerifier()
Returns a stateless, thread-safe singleton instance of
ResourceVerifier. |
static ResourceVerifier |
getResourceVerifierInstance()
Deprecated.
Call
getResourceVerifierInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of |
static ResourceVerifier |
getResourceVerifierInstance(javax.faces.context.ExternalContext externalContext)
Returns a stateless, thread-safe singleton instance of
ResourceVerifier from the ResourceVerifierFactory found by the FactoryExtensionFinder. |
abstract ResourceVerifierFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another.
|
@Deprecated public static ResourceVerifier getResourceVerifierInstance()
getResourceVerifierInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of ResourceVerifier from the ResourceVerifierFactory found by the FactoryExtensionFinder. ResourceVerifier is a
stateless, thread-safe singleton because it is designed to be used by a Renderer, which is a stateless, thread-safe singleton.
public static ResourceVerifier getResourceVerifierInstance(javax.faces.context.ExternalContext externalContext)
ResourceVerifier from the ResourceVerifierFactory found by the FactoryExtensionFinder. ResourceVerifier is a stateless,
thread-safe singleton because it is designed to be used by a Renderer, which is a
stateless, thread-safe singleton.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 ResourceVerifier getResourceVerifier()
ResourceVerifier. The returned ResourceVerifier is
the first member of a delegation chain. ResourceVerifier is a stateless, thread-safe (and potentially singleton)
because it is designed to be used by a Renderer, which is a stateless, thread-safe
singleton.public abstract ResourceVerifierFactory getWrapped()
getWrapped in interface javax.faces.FacesWrapper<ResourceVerifierFactory>Copyright © 2020 Liferay, Inc.. All rights reserved.