|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.util.application.ResourceVerifierFactory
public abstract class ResourceVerifierFactory
This class provides the contract for a factory that can create instances of 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 Summary | |
|---|---|
ResourceVerifierFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceVerifierFactory()
| Method Detail |
|---|
@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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||