Package org.ametys.runtime.workspace
Class WorkspaceSourceFactory
- java.lang.Object
-
- org.ametys.runtime.workspace.WorkspaceSourceFactory
-
- All Implemented Interfaces:
Component,Serviceable,SourceFactory
public class WorkspaceSourceFactory extends Object implements SourceFactory, Serviceable
SourceFactory handling resources URIs for workspaces. Workspace resources can be found of File System, in a JAR, ...
-
-
Field Summary
Fields Modifier and Type Field Description private static String__PROTOCOL_SEPARATORprivate SourceResolver_resolver-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description WorkspaceSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetSource(String location, Map parameters)voidrelease(Source source)voidservice(ServiceManager manager)
-
-
-
Field Detail
-
__PROTOCOL_SEPARATOR
private static final String __PROTOCOL_SEPARATOR
- See Also:
- Constant Field Values
-
_resolver
private SourceResolver _resolver
-
-
Constructor Detail
-
WorkspaceSourceFactory
public WorkspaceSourceFactory()
-
-
Method Detail
-
getSource
public Source getSource(String location, Map parameters) throws IOException
- Specified by:
getSourcein interfaceSourceFactory- Throws:
IOException
-
release
public void release(Source source)
- Specified by:
releasein interfaceSourceFactory
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
-