Package org.ametys.web.gdpr
Class GDPRSourceFactory
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.web.gdpr.GDPRSourceFactory
-
- All Implemented Interfaces:
LogEnabled,Component,Serviceable,SourceFactory
public class GDPRSourceFactory extends AbstractLogEnabled implements SourceFactory, Serviceable
Resolve the protocol gdpr:// seeking xsl file to render GDPR services
-
-
Field Summary
Fields Modifier and Type Field Description protected static String__GDPR_SCHEMEScheme for skinprotected static String__GDPR_SCHEME_INITScheme to init gdprprotected GDPRComponent_gdprComponentThe GDPR componentprotected GDPRServicesExtensionPoint_gdprServicesEPThe GDPR services extension pointprotected SourceResolver_sourceResolverThe source resolver-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description GDPRSourceFactory()
-
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
-
__GDPR_SCHEME
protected static final String __GDPR_SCHEME
Scheme for skin- See Also:
- Constant Field Values
-
__GDPR_SCHEME_INIT
protected static final String __GDPR_SCHEME_INIT
Scheme to init gdpr- See Also:
- Constant Field Values
-
_gdprComponent
protected GDPRComponent _gdprComponent
The GDPR component
-
_gdprServicesEP
protected GDPRServicesExtensionPoint _gdprServicesEP
The GDPR services extension point
-
_sourceResolver
protected SourceResolver _sourceResolver
The source resolver
-
-
Constructor Detail
-
GDPRSourceFactory
public GDPRSourceFactory()
-
-
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
-
-