Class LanguageAccessMgr
java.lang.Object
org.eclnt.jsfserver.util.useraccess.LanguageAccessMgr
Access and management of currently logged on language and country.
CaptainCasa does not hold language / country data on its own but asks via the
interface
ILanguageAccess
about the language. You can implement a
class implementing ILanguageAccess and install via system.xml in order to
give CaptainCasa access to your language management.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static ILanguageAccess
static void
initializeInfoProvider
(LanguageAccessMgr.IInfoProvider infoProvider) Initializes the language access management with a given info provider.
-
Constructor Details
-
LanguageAccessMgr
public LanguageAccessMgr()
-
-
Method Details
-
initializeInfoProvider
Initializes the language access management with a given info provider. This is usually done by the system.xml configuration.- Parameters:
infoProvider
- The info provider to use. Must not be null.
-
getInstance
-
getCurrentLanguage
-
getCurrentCountry
-