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
FieldsModifier and TypeFieldDescriptionprotected ImporterConfigstatic final Stringstatic final Stringprotected ScanFileMappingDescriptorFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseMetaData(File xmlFile) voidregisterContribution(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, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
registerContributionin classDefaultComponent
-
parseMetaData
- Specified by:
parseMetaDatain interfaceScannedFileMapperService- Throws:
IOException
-
getMappingDesc
-
getTargetContainerType
- Specified by:
getTargetContainerTypein interfaceScannedFileMapperService
-
getTargetLeafType
- Specified by:
getTargetLeafTypein interfaceScannedFileMapperService
-
getImporterConfig
- Specified by:
getImporterConfigin interfaceScannedFileMapperService
-