Package net.officefloor.web.resource.spi
Interface ResourceSystemFactory
- All Known Implementing Classes:
ClasspathResourceSystemFactory,FileResourceSystemService
public interface ResourceSystemFactory
Service for the creation of a
ResourceSystem.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionCreates theResourceSystem.Obtains the protocol name for the createdResourceSystem.
-
Method Details
-
getProtocolName
String getProtocolName()Obtains the protocol name for the created
ResourceSystem.The protocol name is used as follows
[protocol]:locationto configure aResourceSystem.- Returns:
- Protocol name for the created
ResourceSystem.
-
createResourceSystem
Creates theResourceSystem.- Parameters:
context-ResourceSystemContext.- Returns:
ResourceSystem.- Throws:
IOException- If fails to create theResourceSystem.
-