psdi.iface.webservices

Class WSRegistryCacheImpl

  • java.lang.Object
    • psdi.iface.webservices.WSRegistryCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class WSRegistryCacheImpl
    extends java.lang.Object
    implements MaximoCache
    Loads information from MAXWSREGISTRY table
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String NAME 
    • Method Detail

      • init

        public void init(boolean tenantOnly)
                  throws MXException
        Initialization
        Throws:
        MXException - Maximo Exception
      • getName

        public java.lang.String getName()
        Returns the name as registered in Maximo Cache
        Specified by:
        getName in interface MaximoCache
        Returns:
        MAXIFACE
      • reloadAll

        public void reloadAll()
                       throws MXException
        Refresh the WSRegiatryCache
        Throws:
        MXException - Maximo Exception
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Reload a paricular key in memory. Not implemented (exists only for compilation sake)
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException - Maximo Exception
      • loadDeployedServices

        public void loadDeployedServices(javax.servlet.ServletConfig config)
                                  throws MXException
        Loads all Web Service information
        Parameters:
        config - Configuration Context
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
      • getServerDeployer

        public ServerDeployer getServerDeployer()
        Returns Map of all ws registries. The returned Map contains the wsregistry name as the key, while the value is WSRegistryInfo object
        Returns:
        Map of all WSRegistryInfo
      • resetServerDeployer

        public void resetServerDeployer()
        Internal method to reset serverDeployer
      • getWSRegistryMap

        public java.util.Map getWSRegistryMap()
        Returns Map of all ws registries. The returned Map contains the wsregistry name as the key, while the value is WSRegistryInfo object
        Returns:
        Map of all WSRegistryInfo
      • clearTenant

        public void clearTenant()
        Returns Map of all ws registries. The returned Map contains the wsregistry name as the key, while the value is WSRegistryInfo object
      • getWSRegistryInfo

        public WSRegistryInfo getWSRegistryInfo(java.lang.String name)
        Return WSRegistryInfo object for the given name and type
        Parameters:
        name - ws name name
        Returns:
        WSRegistryInfo object