public abstract class I18nFactory extends Object implements javax.faces.FacesWrapper<I18nFactory>
Constructor and Description |
---|
I18nFactory() |
Modifier and Type | Method and Description |
---|---|
abstract I18n |
getI18n()
Returns a stateless, thread-safe singleton instance of
I18n . |
static I18n |
getI18nInstance()
Deprecated.
Call
getI18nInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of |
static I18n |
getI18nInstance(javax.faces.context.ExternalContext externalContext)
Returns a stateless, thread-safe singleton instance of
I18n from the I18nFactory found by the
FactoryExtensionFinder . |
@Deprecated public static I18n getI18nInstance()
getI18nInstance(ExternalContext)
instead.
Returns a stateless, thread-safe singleton instance of I18n
from the I18nFactory
found by the FactoryExtensionFinder
.
public static I18n getI18nInstance(javax.faces.context.ExternalContext externalContext)
I18n
from the I18nFactory
found by the
FactoryExtensionFinder
.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.Copyright © 2018 Liferay, Inc.. All rights reserved.