public abstract class ResourceValidatorFactory extends Object implements javax.faces.FacesWrapper<ResourceValidatorFactory>
Constructor and Description |
---|
ResourceValidatorFactory() |
Modifier and Type | Method and Description |
---|---|
abstract ResourceValidator |
getResourceValidator()
Returns a stateless, thread-safe singleton instance of
ResourceValidator . |
static ResourceValidator |
getResourceValidatorInstance()
Deprecated.
Call
getResourceValidatorInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of |
static ResourceValidator |
getResourceValidatorInstance(javax.faces.context.ExternalContext externalContext)
Returns a stateless, thread-safe singleton instance of
ResourceValidator from the ResourceValidatorFactory found by the FactoryExtensionFinder . |
abstract ResourceValidatorFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another.
|
@Deprecated public static ResourceValidator getResourceValidatorInstance()
getResourceValidatorInstance(ExternalContext)
instead.
Returns a stateless, thread-safe singleton instance of ResourceValidator
from the ResourceValidatorFactory
found by the FactoryExtensionFinder
. ResourceValidator is a
stateless, thread-safe singleton because it is designed to be used by a ResourceHandler
, which is a
stateless, thread-safe singleton.
public static ResourceValidator getResourceValidatorInstance(javax.faces.context.ExternalContext externalContext)
ResourceValidator
from the ResourceValidatorFactory
found by the FactoryExtensionFinder
. ResourceValidator is a stateless,
thread-safe singleton because it is designed to be used by a ResourceHandler
,
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 ResourceValidator getResourceValidator()
ResourceValidator
. ResourceValidator is stateless,
thread-safe singleton because it is designed to be used by a ResourceHandler
,
which is a
stateless, thread-safe singleton.public abstract ResourceValidatorFactory getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<ResourceValidatorFactory>
Copyright © 2018 Liferay, Inc.. All rights reserved.