Package org.ametys.cms.explorer
Class AmetysResourceSourceFactory
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.explorer.AmetysResourceSourceFactory
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
,ThreadSafe
,SourceFactory
public class AmetysResourceSourceFactory extends AbstractLogEnabled implements SourceFactory, ThreadSafe, Serviceable
SourceFactory
forResource
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
RESOURCE_SCHEME
source scheme-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description AmetysResourceSourceFactory()
-
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)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
RESOURCE_SCHEME
public static final String RESOURCE_SCHEME
source scheme- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AmetysResourceSourceFactory
public AmetysResourceSourceFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
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
-
-