public class TranslateCacheFactory extends AbstractMaximoMTEnabledCache
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.
|
void |
reload()
Reload everything...
|
void |
reload(java.lang.String key)
Reload a list
|
getLoadedTenants, isLoaded, unloadInactiveCaches, unloadTenant
public static TranslateCacheFactory getInstance()
public void init() throws MXException
init
in interface MaximoCache
init
in class AbstractMaximoMTEnabledCache
MXException
public Translate getCache()
getCache
in interface MaximoMTEnabledCache
getCache
in class AbstractMaximoMTEnabledCache
public void reload() throws MXException
reload
in interface MaximoCache
reload
in class AbstractMaximoMTEnabledCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
reload
in class AbstractMaximoMTEnabledCache
MXException
public java.lang.String getName()
public static java.lang.String getDomainFactoryName(java.lang.String domainType) throws MXException
domainType
- MXException