Package org.ametys.plugins.linkdirectory
Class LinkSourceFactory
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.linkdirectory.LinkSourceFactory
-
- All Implemented Interfaces:
LogEnabled,Component,Serviceable,ThreadSafe,SourceFactory
public class LinkSourceFactory extends AbstractLogEnabled implements SourceFactory, ThreadSafe, Serviceable
SourceFactoryfor link data.
-
-
Field Summary
Fields Modifier and Type Field Description private AmetysObjectResolver_resolverstatic StringSCHEMEsource scheme-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description LinkSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetSource(String location, Map parameters)voidrelease(Source source)voidservice(ServiceManager manager)-
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
-
_resolver
private AmetysObjectResolver _resolver
-
-
Constructor Detail
-
LinkSourceFactory
public LinkSourceFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
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
-
-