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_SCHEME
Scheme for skinprotected static String
__GDPR_SCHEME_INIT
Scheme to init gdprprotected GDPRComponent
_gdprComponent
The GDPR componentprotected GDPRServicesExtensionPoint
_gdprServicesEP
The GDPR services extension pointprotected SourceResolver
_sourceResolver
The 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 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
-
__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:
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
-
-