Package org.ametys.runtime.plugin
Class PluginSourceFactory
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.runtime.plugin.PluginSourceFactory
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,SourceFactory
public class PluginSourceFactory extends AbstractLogEnabled implements SourceFactory, Serviceable
SourceFactory handling resources URIs for plugins. Plugin resources can be found of File System, in a JAR, ...
-
-
Field Summary
-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description PluginSourceFactory()
-
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.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
PluginSourceFactory
public PluginSourceFactory()
-
-
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
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
-