mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 11:33:11 +00:00
85 lines
3.6 KiB
XML
85 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
|
|
default-lazy-init="true">
|
|
|
|
<description>
|
|
Strategies for determining who receives Request Copy emails.
|
|
A copy request "strategy" class produces a list of addresses
|
|
to which a request email should be sent. Each strategy gets
|
|
its addresses from a different source. Select the one that
|
|
meets your need, or use the CombiningRequestItemStrategy to
|
|
meld the lists from two or more other strategies.
|
|
</description>
|
|
|
|
<context:annotation-config /> <!-- allows us to use Spring annotations -->
|
|
|
|
<bean class="org.dspace.app.requestitem.RequestItemEmailNotifier"
|
|
lazy-init='false'>
|
|
<description>
|
|
This sends various emails between the requestor and the grantor.
|
|
</description>
|
|
<!-- Select the grantor discovery strategy here. -->
|
|
<constructor-arg index='0'
|
|
ref='org.dspace.app.requestitem.RequestItemMetadataStrategy'/>
|
|
</bean>
|
|
|
|
<bean class="org.dspace.app.requestitem.RequestItemMetadataStrategy"
|
|
id="org.dspace.app.requestitem.RequestItemMetadataStrategy">
|
|
<description>
|
|
Get recipients from an item metadata field.
|
|
</description>
|
|
<!--
|
|
Uncomment these properties if you want lookup in metadata
|
|
the email and the name of the author to contact for request copy.
|
|
If you don't configure that or if the requested item doesn't have
|
|
these metadata, the submitter data are used as fail over.
|
|
-->
|
|
<!--
|
|
<property name="emailMetadata"
|
|
value="schema.element.qualifier" />
|
|
<property name="fullNameMetadata"
|
|
value="schema.element.qualifier" />
|
|
-->
|
|
</bean>
|
|
|
|
<bean class="org.dspace.app.requestitem.RequestItemHelpdeskStrategy"
|
|
id="org.dspace.app.requestitem.RequestItemHelpdeskStrategy">
|
|
<description>
|
|
HelpDesk to instead get RequestItem emails
|
|
</description>
|
|
</bean>
|
|
|
|
<bean class='org.dspace.app.requestitem.CollectionAdministratorsRequestItemStrategy'
|
|
id='org.dspace.app.requestitem.CollectionAdministratorsRequestItemStrategy'>
|
|
<description>
|
|
Send request emails to administrators of an Item's owning
|
|
Collection.
|
|
</description>
|
|
</bean>
|
|
|
|
<bean class='org.dspace.app.requestitem.CombiningRequestItemStrategy'
|
|
id='org.dspace.app.requestitem.CombiningRequestItemStrategy'>
|
|
<description>
|
|
Execute multiple strategies and concatenate their lists of
|
|
recipients. Mail will go to all members of the combined list.
|
|
</description>
|
|
<constructor-arg>
|
|
<description>
|
|
A list of RequestItemAuthorExtractor beans
|
|
</description>
|
|
<list>
|
|
<!-- Example:
|
|
<ref bean='org.dspace.app.requestitem.RequestItemMetadataStrategy'/>
|
|
<ref bean='org.dspace.app.requestitem.CollectionAdministratorsRequestItemStrategy'/>
|
|
-->
|
|
</list>
|
|
</constructor-arg>
|
|
</bean>
|
|
</beans>
|