public class TranslateCacheFactory extends java.lang.Object implements MaximoMTEnabledCache, FixedLoggers
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Modifier and Type | Method and Description |
---|---|
Translate |
getCache()
Get the current Translate or create a new one.
|
static java.lang.String |
getDomainFactoryName(java.lang.String domainType)
The method to get domain factory class name.
|
static TranslateCacheFactory |
getInstance()
Return the instance of the factory.
|
java.lang.String |
getName()
Return the name of cache to be reloaded, "DOMAINCACHE".
|
void |
init()
Init Masterlist.
|
boolean |
isLoaded()
Return true if the tenant cache exist.
|
void |
reload()
Reload everything...
|
void |
reload(java.lang.String key)
Reload a list
|
public static TranslateCacheFactory getInstance()
public void init() throws MXException
init
in interface MaximoCache
MXException
public Translate getCache()
getCache
in interface MaximoMTEnabledCache
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
MXException
public java.lang.String getName()
getName
in interface MaximoCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache
public static java.lang.String getDomainFactoryName(java.lang.String domainType) throws MXException
domainType
- MXException