com.liferay.faces.util.i18n
Class I18nFactory
java.lang.Object
com.liferay.faces.util.i18n.I18nFactory
- All Implemented Interfaces:
- javax.faces.FacesWrapper<I18nFactory>
public abstract class I18nFactory
- extends Object
- implements javax.faces.FacesWrapper<I18nFactory>
- Author:
- Neil Griffin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.FacesWrapper |
getWrapped |
I18nFactory
public I18nFactory()
getI18nInstance
@Deprecated
public static I18n getI18nInstance()
- Deprecated. Call
getI18nInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of I18n from the I18nFactory
found by the FactoryExtensionFinder.
getI18nInstance
public static I18n getI18nInstance(javax.faces.context.ExternalContext externalContext)
- Returns a stateless, thread-safe singleton instance of
I18n from the I18nFactory found by the
FactoryExtensionFinder.
- Parameters:
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.- Since:
- 3.1, 2.1, 1.1
getI18n
public abstract I18n getI18n()
- Returns a stateless, thread-safe singleton instance of
I18n.
Copyright © 2019 Liferay, Inc.. All rights reserved.