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
SourceFactory
for site parameters.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCHEME
source 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 void
contextualize(Context context)
Source
getSource(String location, Map parameters)
void
release(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:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getSource
public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
- Specified by:
getSource
in interfaceSourceFactory
- Throws:
IOException
MalformedURLException
-
release
public void release(Source source)
- Specified by:
release
in interfaceSourceFactory
-
-