public class WSRegistryCache extends java.lang.Object implements MaximoMTEnabledCache, FixedLoggers
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
syncLock |
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| Modifier and Type | Method and Description |
|---|---|
MaximoCache |
getCache()
Default Constructor
|
static WSRegistryCache |
getInstance()
Always use one instance of Signature Factory.
|
java.util.Set |
getLoadedTenants() |
java.lang.String |
getName()
Return name of the cache.
|
ServerDeployer |
getServerDeployer()
Returns Map of all ws registries.
|
WSRegistryInfo |
getWSRegistryInfo(java.lang.String name)
Return WSRegistryInfo object for the given name and type
|
java.util.Map |
getWSRegistryMap()
Returns Map of all ws registries.
|
void |
init()
Initialize all the cache objects to new and empty,
and set loaded = False.
|
boolean |
isLoaded()
Check if individual Cache is loaded for a tenent.
|
void |
loadDeployedServices(javax.servlet.ServletConfig config)
Loads all Web Service information
|
void |
reload()
Reload Cache.
|
void |
reload(java.lang.String key)
reload Cache for a key.
|
void |
resetServerDeployer()
Internal method to reset serverDeployer
|
void |
unloadTenant() |
public static WSRegistryCache getInstance()
public MaximoCache getCache()
getCache in interface MaximoMTEnabledCachepublic void init()
throws MXException
init in interface MaximoCacheMXException - Maximo Exceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXException - Maximo Exceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - Key for reloadMXException - Maximo Exceptionpublic void loadDeployedServices(javax.servlet.ServletConfig config)
throws MXException
config - Configuration ContextMXException - Maximo ExceptionAxisException - Axis Exceptionpublic ServerDeployer getServerDeployer()
public void resetServerDeployer()
public java.util.Map getWSRegistryMap()
public WSRegistryInfo getWSRegistryInfo(java.lang.String name)
name - ws name namepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCachepublic java.lang.String getName()
getName in interface MaximoCachepublic java.util.Set getLoadedTenants()
throws MXException
getLoadedTenants in interface MaximoMTEnabledCacheMXExceptionpublic void unloadTenant()
throws MXException
unloadTenant in interface MaximoMTEnabledCacheMXException