Class AbstractRegistry

    • Field Detail

      • properties

        protected final Properties properties
        The list of configuration properties
    • Constructor Detail

      • AbstractRegistry

        public AbstractRegistry()
    • Method Detail

      • getResource

        public Object getResource​(Entry entry,
                                  Properties properties)
        Get the resource for the given key from this registry
        Specified by:
        getResource in interface Registry
        Parameters:
        entry - The Enrty instance that contains meta-data
        properties - bag of properties with additional information
        Returns:
        the matching resultant object
        See Also:
        AbstractRegistry
      • getProviderClass

        public String getProviderClass()
        Description copied from interface: Registry
        Return the name of the implementation class
        Specified by:
        getProviderClass in interface Registry
        Returns:
        name of the registry provider implementation class name
      • getConfigurationProperties

        public Properties getConfigurationProperties()
        Description copied from interface: Registry
        Return the list of configuration properties set on this instance
        Specified by:
        getConfigurationProperties in interface Registry
        Returns:
        a Map of configuration properties
      • init

        public void init​(Properties properties)
        Description copied from interface: Registry
        Initializes the registry with given properties
        Specified by:
        init in interface Registry
        Parameters:
        properties - The configuration properties
      • getResourceProperties

        public Properties getResourceProperties​(String entryKey)
        Description copied from interface: Registry
        Get the resource properties of a given resource
        Specified by:
        getResourceProperties in interface Registry
        Parameters:
        entryKey - The registry entry
      • getFormat

        public org.apache.axiom.om.OMElement getFormat​(Entry entry)
        Specified by:
        getFormat in interface Registry
        Parameters:
        entry -
        Returns:
        the OMElement of the format from the configuration