|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.I18nFactoryServiceImpl
@Service public class I18nFactoryServiceImpl
Default implementation of the i18n service.
Hides away JIRA i18n internals. NOTE : since this service is used by MANY other services, we MUST keep its dependencies light weight otherwise we end up with circular references.
Constructor Summary | |
---|---|
I18nFactoryServiceImpl()
|
Method Summary | |
---|---|
I18n2 |
getI18n()
Get the default I18n object. |
I18n2 |
getI18n(java.util.Locale locale)
Get the I18n object for a given locale |
I18n2 |
getI18n(com.atlassian.crowd.embedded.api.User user)
Get the I18n object for a given user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public I18nFactoryServiceImpl()
Method Detail |
---|
public I18n2 getI18n(com.atlassian.crowd.embedded.api.User user)
getI18n
in interface I18nFactoryService
user
- the user to fetch the i18n object for
public I18n2 getI18n()
getI18n
in interface I18nFactoryService
public I18n2 getI18n(java.util.Locale locale)
getI18n
in interface I18nFactoryService
locale
- the locale to fetch for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |