psdi.iface.webservices

Class WSRegistryCache

  • java.lang.Object
    • psdi.iface.webservices.WSRegistryCache
    • Field Detail

      • syncLock

        protected volatile java.lang.Object syncLock
    • Method Detail

      • getInstance

        public static WSRegistryCache getInstance()
        Always use one instance of Signature Factory.
        Returns:
        Instance of Signature Cache Factory
      • init

        public void init()
                  throws MXException
        Initialize all the cache objects to new and empty, and set loaded = False.
        Specified by:
        init in interface MaximoCache
        Throws:
        MXException - Maximo Exception
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        reload Cache for a key.
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key - Key for reload
        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
      • 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
      • isLoaded

        public boolean isLoaded()
        Check if individual Cache is loaded for a tenent.
        Specified by:
        isLoaded in interface MaximoMTEnabledCache
        Returns:
        boolean to say if cache loaded or not
      • getName

        public java.lang.String getName()
        Return name of the cache.
        Specified by:
        getName in interface MaximoCache
        Returns:
        name of the cache