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 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 Source
getSource(String location, Map parameters)
void
release(Source source)
void
service(ServiceManager manager)
-
-
-
Constructor Detail
-
WorkspaceSourceFactory
public WorkspaceSourceFactory()
-
-
Method Detail
-
getSource
public Source getSource(String location, Map parameters) throws IOException
- Specified by:
getSource
in interfaceSourceFactory
- Throws:
IOException
-
release
public void release(Source source)
- Specified by:
release
in interfaceSourceFactory
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
-