Package org.ametys.cms.data
Class BinarySourceFactory
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.data.BinarySourceFactory
-
- All Implemented Interfaces:
LogEnabled,Component,Contextualizable,ThreadSafe,SourceFactory
public class BinarySourceFactory extends AbstractLogEnabled implements SourceFactory, ThreadSafe, Contextualizable
SourceFactoryfor site parameters.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCHEMEsource scheme-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description BinarySourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextualize(Context context)SourcegetSource(String location, Map parameters)voidrelease(Source source)-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
SCHEME
public static final String SCHEME
source scheme- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BinarySourceFactory
public BinarySourceFactory()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getSource
public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
- Specified by:
getSourcein interfaceSourceFactory- Throws:
IOExceptionMalformedURLException
-
release
public void release(Source source)
- Specified by:
releasein interfaceSourceFactory
-
-