Class ResourceLocator

  • Direct Known Subclasses:
    DefaultResourceLocator

    public abstract class ResourceLocator
    extends Object
    Resource locators are service providers used collect resources across multiple code bases in multi-module environments.
    Since:
    Ceres 2.0
    • Constructor Detail

      • ResourceLocator

        public ResourceLocator()
    • Method Detail

      • getResources

        public static Collection<Path> getResources​(String name)
        Gets all resources from all registered ResourceLocator services for the given name.
        Parameters:
        name - The resource name
        Returns:
        The collection of all resources found
      • locateResources

        public abstract Collection<Path> locateResources​(String name)
        Locates all resources with the given name.
        Parameters:
        name - The resource name
        Returns:
        The collection of all resources located