-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfoxml.services.yml
57 lines (57 loc) · 1.73 KB
/
foxml.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
services:
foxml.substream.stream_wrapper:
class: Drupal\foxml\StreamWrapper\Substream
tags:
- name: stream_wrapper
scheme: foxml.substream
foxml.parser:
class: Drupal\foxml\Utility\Fedora3\FoxmlParser
arguments:
- '@cache.foxml_parsed'
- '@foxml.parser.datastream_lowlevel_storage'
- '@lock'
cache.foxml_parsed:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- name: cache.bin
factory: cache_factory:get
arguments:
- foxml_parsed
logger.channel.foxml:
parent: logger.channel_base
arguments: ['foxml']
foxml.parser.object_lowlevel_storage:
class: Drupal\foxml\Utility\Fedora3\ObjectLowLevelAdapterManager
arguments:
- '@logger.channel.foxml'
tags:
- name: service_collector
tag: foxml.parser.object_lowlevel_storage
call: addAdapter
foxml.parser.datastream_lowlevel_storage:
class: Drupal\foxml\Utility\Fedora3\DatastreamLowLevelAdapterManager
tags:
- name: service_collector
tag: foxml.parser.datastream_lowlevel_storage
call: addAdapter
foxml.archival.object_lowlevel_storage:
class: Drupal\foxml\Utility\Fedora3\ArchivalObjectLowLevelAdapter
arguments:
- '@settings'
tags:
- name: foxml.parser.object_lowlevel_storage
priority: -10
foxml.lowlevel_storage.stream_wrapper:
class: Drupal\foxml\StreamWrapper\Foxml
arguments:
- '@foxml.parser.datastream_lowlevel_storage'
- '@foxml.parser.object_lowlevel_storage'
- '@file_system'
tags:
- name: stream_wrapper
scheme: foxml
foxml.path_processor:
class: Drupal\foxml\PathProcessor\PathProcessorFiles
tags:
- { name: path_processor_inbound, priority: 200 }