Interface ClassResourceSource

All Superinterfaces:
ResourceSource

public interface ClassResourceSource extends ResourceSource
A class-to-resource resolution strategy. JavaRebel will use the resource to monitor Resource.lastModified() for updates.
Author:
Jevgeni Kabanov
  • Method Details

    • getClassResource

      Resource getClassResource(String className)
      Should return the Resource that corresponds to the resource that the given class is loaded from.
      Parameters:
      className - name of the class to lookup
      Returns:
      the Resource associated with the class
      See Also: