Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleExample generating default source key with OpenSSL
$ echo -n "urn:test:foobar" | openssl sha1
d278c9975472a6b4827b1a8723192b4e99aa969c

Reference

CommonAttributes

Localtabgroup

Localtab-live
activetrue
titleSpecific XML Attributes


Note
titleThe source directory and the cache directory must be distinct

The sourceDirectory and the persistentCacheManagerDirectory (if any) must be distinct. While it is possible, though probably unusual, to enable persistent caching of local metadata, do NOT rely on the same directory for both the source and the cache. This would cause the removal of cached metadata to actually remove the underlying metadata from your system.


AttributeTypeDefaultDescription
sourceDirectoryString

Convenience mechanism for wiring a FilesystemLoadSaveManager, loading from the specified source directory in the local filesystem. This attribute will be ignored if sourceManagerRef is also specified.  Either this attribute or sourceManagerRef is required.

sourceManagerRefBean ID
Identifies the Spring bean for the XMLObjectLoadSaveManager which serves as the local source of metadata.  Either this attribute or sourceDirectory is required.
sourceKeyGeneratorRefBean IDinternal default instanceIdentifies a Spring bean for a Function which generates the string key used with the XMLObjectLoadSaveManager. The internal default implementation produces the lower-case hex-encoded SHA-1 digest of the entityID of the input criterion.  If the manager was effectively specified via sourceDirectory, then the internal default implementation suffixes this source key with ".xml".

Localtab

id
-live
titleCommon XML Attributes

Include Page
MetadataProviderCommonAttributes
MetadataProviderCommonAttributes

Localtab

idDynamicAttributes

-live
titleDynamic XML Attributes

Include Page
MetadataProviderDynamicAttributes
MetadataProviderDynamicAttributes

Localtab-live
titleCommon XML Elements

Include Page
MetadataProviderChildElements
MetadataProviderChildElements