public class MaxVars extends java.lang.Object implements MaximoCache, FixedLoggers
Modifier and Type | Field and Description |
---|---|
protected java.util.Hashtable |
htMaxVar |
protected MaxVarsSystem |
maxVarsSystemCache |
protected java.util.Hashtable |
maxvarsType
Hashtable for maintaining local cache
|
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 |
---|
MaxVars() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getMaxVarType(java.lang.String key)
Returns the maxvartype for the varname
|
java.lang.String |
getName()
Returns the name of the cache object.
|
protected java.lang.String |
getValueForMaxVarName(java.lang.String key,
java.lang.String orgSite)
Internal method to retrieve the maxvar value.
|
protected java.lang.String |
getValueForMaxVarName(java.lang.String key,
java.lang.String org,
java.lang.String site)
Returns the value for maxvar for given org and site
|
void |
init()
Initialize the cache object.
|
protected java.lang.Object |
put(java.lang.String key,
java.lang.String orgSiteId,
java.lang.Object value)
Put a maxvar value into the hashtable.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
protected java.lang.Object |
remove(java.lang.String key,
java.lang.String orgSiteId)
Remove a maxvar from the hashtable.
|
protected java.util.Hashtable maxvarsType
protected MaxVarsSystem maxVarsSystemCache
protected java.util.Hashtable htMaxVar
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
public void reload() throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public java.lang.String getName()
MaximoCache
getName
in interface MaximoCache
protected java.lang.String getValueForMaxVarName(java.lang.String key, java.lang.String orgSite) throws MXException
key
- user
- MXException
protected java.lang.Object put(java.lang.String key, java.lang.String orgSiteId, java.lang.Object value)
MaxVars save
.key
- The name of the maxvar (varname).ogSiteId
- value
- The new value of the maxvar (varvalue).protected java.lang.Object remove(java.lang.String key, java.lang.String orgSiteId)
MaxVars save
.key
- The name of the maxvar (varname).ogSiteId
- protected java.lang.String getMaxVarType(java.lang.String key) throws MXException
key
- MXException
protected java.lang.String getValueForMaxVarName(java.lang.String key, java.lang.String org, java.lang.String site) throws MXException
key
- org
- site
- MXException