Class ScannedFileMapperComponent
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.scanimporter.service.ScannedFileMapperComponent
- All Implemented Interfaces:
ScannedFileMapperService
,Adaptable
,Component
,Extensible
,TimestampedService
public class ScannedFileMapperComponent
extends DefaultComponent
implements ScannedFileMapperService
Component to provide service logic : - meta-data parsing - configuration management - extension points
- Author:
- Thierry Delprat
-
Field Summary
Modifier and TypeFieldDescriptionprotected ImporterConfig
static final String
static final String
protected ScanFileMappingDescriptor
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseMetaData
(File xmlFile) void
registerContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
MAPPING_EP
- See Also:
-
CONFIG_EP
- See Also:
-
mappingDesc
-
config
-
-
Constructor Details
-
ScannedFileMapperComponent
public ScannedFileMapperComponent()
-
-
Method Details
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContribution
in classDefaultComponent
-
parseMetaData
- Specified by:
parseMetaData
in interfaceScannedFileMapperService
- Throws:
IOException
-
getMappingDesc
-
getTargetContainerType
- Specified by:
getTargetContainerType
in interfaceScannedFileMapperService
-
getTargetLeafType
- Specified by:
getTargetLeafType
in interfaceScannedFileMapperService
-
getImporterConfig
- Specified by:
getImporterConfig
in interfaceScannedFileMapperService
-