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 Source
getSource(String location, Map parameters)
void
release(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:
getSource
in interfaceSourceFactory
- Throws:
IOException
-
release
public void release(Source source)
- Specified by:
release
in interfaceSourceFactory
-
-