Interface RegistryExtension


  • public interface RegistryExtension
    Implementations of this interface can be engaged with the WSO2Registry registry adapter so that when a given resource cannot be found in the registry the lookup operations can be gracefully handled by an extension. Extensions add more value and power to the registry adapter by extending its abilities use custom protocols, databases and other external registries to fetch resources.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init​(Properties props)
      Initialize the extension implementation with a set of properties
      org.apache.axiom.om.OMNode lookup​(String key)
      Attempt to find a resource represented by a given key in a custom manner
    • Method Detail

      • init

        void init​(Properties props)
        Initialize the extension implementation with a set of properties
        Parameters:
        props - the Set of proeprties with which to initialize the extension
      • lookup

        org.apache.axiom.om.OMNode lookup​(String key)
        Attempt to find a resource represented by a given key in a custom manner
        Parameters:
        key - The key representing the resource
        Returns:
        The XML OMNode for the resource or null if the resource cannot be located