org.fabric3.spi.scanner.FileSystemResourceFactoryRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric3-contribution-scanner-spi Show documentation
Show all versions of fabric3-contribution-scanner-spi Show documentation
Fabric3 Contribution Scanner SPI.
package org.fabric3.spi.scanner;
import java.io.File;
/**
* A registry for FileSystemResourceFactory instances
*
* @version $Rev: 714 $ $Date: 2007-08-14 20:12:13 -0700 (Tue, 14 Aug 2007) $
*/
public interface FileSystemResourceFactoryRegistry {
/**
* Registers the factory
*
* @param factory the factory to register
*/
void register(FileSystemResourceFactory factory);
/**
* Creates a FileSystemResource for the given file by dispatching to a registered factory.
*
* @param file the file to create the FileSystemResource for
* @return the FileSystemResource
*/
FileSystemResource createResource(File file);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy