public class SiteCache extends java.lang.Object implements MaximoCache, 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
Constructor and Description |
---|
SiteCache() |
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable |
getAllSites() |
java.lang.String |
getName()
Return
SITE . |
java.lang.String |
getOrgForSite(java.lang.String siteID,
UserInfo userInfo)
Return the organization for the specified site.
|
void |
init()
Initialize the cache object.
|
void |
init(MXServer mxs)
|
boolean |
isActiveSite(java.lang.String siteID)
Indicate whether the given site is active or not.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
For SiteCache, does nothing.
|
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
MaximoCache.init()
public void init(MXServer mxs) throws MXException
mxs
- MXServerMXException
public void reload() throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
MaximoCache.reload()
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
MXException
MaximoCache.reload(java.lang.String)
public java.lang.String getName()
SITE
.getName
in interface MaximoCache
MaximoCache.getName()
public java.lang.String getOrgForSite(java.lang.String siteID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
siteID
- The site for which the orgID is being requested.userInfo
- UserInfo making the request.MXException
java.rmi.RemoteException
public java.util.Hashtable getAllSites() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isActiveSite(java.lang.String siteID) throws MXException, java.rmi.RemoteException
siteID
- MXException
java.rmi.RemoteException