Package org.ametys.runtime.data
Class AmetysHomeSourceFactory
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.runtime.data.AmetysHomeSourceFactory
-
- All Implemented Interfaces:
Component,LogEnabled,SourceFactory
public class AmetysHomeSourceFactory extends AbstractLogEnabled implements SourceFactory
SourceFactory handling URIs in Ametys home.
-
-
Field Summary
Fields Modifier and Type Field Description private static String__AMETYS_HOME_SOURCE_PREFIX-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description AmetysHomeSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetSource(String location, Map parameters)voidrelease(Source source)-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
__AMETYS_HOME_SOURCE_PREFIX
private static final String __AMETYS_HOME_SOURCE_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AmetysHomeSourceFactory
public AmetysHomeSourceFactory()
-
-
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
-
-