Class ResourceBackedMetadataResolver

    • Field Detail

      • log

        private final org.slf4j.Logger log
        Class logger.
      • metadataResource

        private Resource metadataResource
        Resource from which metadata is read.
    • Constructor Detail

      • ResourceBackedMetadataResolver

        public ResourceBackedMetadataResolver​(@ParameterName(name="timer")
                                              Timer timer,
                                              @ParameterName(name="resource")
                                              Resource resource)
                                       throws IOException
        Constructor.
        Parameters:
        resource - resource from which to read the metadata file.
        timer - task timer used to schedule metadata refresh tasks
        Throws:
        IOException - thrown if there is a problem retrieving information about the resource
      • ResourceBackedMetadataResolver

        public ResourceBackedMetadataResolver​(@ParameterName(name="resource")
                                              Resource resource)
                                       throws IOException
        Constructor.
        Parameters:
        resource - resource from which to read the metadata file.
        Throws:
        IOException - thrown if there is a problem retrieving information about the resource