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