public class MaxServiceCache extends java.lang.Object implements MaximoCache, FixedLoggers
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, 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| Constructor and Description |
|---|
MaxServiceCache(java.util.Properties propsFromFile) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the cache object.
|
ServiceInfo |
getServiceInfo(java.lang.String service)
Return information about the specified service
|
java.util.Iterator |
getServicesInfo()
Return info about all services
|
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
java.lang.String |
toString()
Dumps the entire dictionary as a string - use for debugging
only
|
public void init()
throws MXException
MaximoCacheinit in interface MaximoCacheMXExceptionpublic void reload()
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic java.lang.String getName()
MaximoCachegetName in interface MaximoCachepublic java.lang.String toString()
toString in class java.lang.Objectpublic ServiceInfo getServiceInfo(java.lang.String service)
service - public java.util.Iterator getServicesInfo()