Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
SubscriptionController.java | ||
---|---|---|
4 | 4 |
import java.util.HashMap; |
5 | 5 |
import java.util.List; |
6 | 6 |
import java.util.Map; |
7 |
|
|
8 | 7 |
import javax.annotation.Resource; |
9 | 8 |
import javax.xml.transform.dom.DOMResult; |
10 | 9 |
import javax.xml.xpath.XPathExpressionException; |
11 | 10 |
import javax.xml.xpath.XPathFactory; |
12 | 11 |
|
12 |
import eu.dnetlib.enabling.is.sn.NotificationInvocationLogger; |
|
13 |
import eu.dnetlib.enabling.is.sn.resourcestate.ResourceStateSubscription; |
|
14 |
import eu.dnetlib.enabling.is.sn.resourcestate.ResourceStateSubscriptionRegistry; |
|
15 |
import eu.dnetlib.miscutils.coupling.StaticCondition; |
|
13 | 16 |
import org.apache.commons.logging.Log; |
14 | 17 |
import org.apache.commons.logging.LogFactory; |
18 |
import org.springframework.beans.factory.annotation.Autowired; |
|
15 | 19 |
import org.springframework.stereotype.Controller; |
16 | 20 |
import org.springframework.ui.Model; |
17 | 21 |
import org.springframework.web.bind.annotation.RequestMapping; |
18 | 22 |
import org.springframework.web.bind.annotation.RequestParam; |
19 | 23 |
|
20 |
import eu.dnetlib.enabling.is.sn.NotificationInvocationLogger; |
|
21 |
import eu.dnetlib.enabling.is.sn.resourcestate.ResourceStateSubscription; |
|
22 |
import eu.dnetlib.enabling.is.sn.resourcestate.ResourceStateSubscriptionRegistry; |
|
23 |
import eu.dnetlib.miscutils.coupling.StaticCondition; |
|
24 |
|
|
25 | 24 |
/** |
26 | 25 |
* Low-level basic interface for managing SN subscriptions. |
27 | 26 |
* |
... | ... | |
50 | 49 |
/** |
51 | 50 |
* issn invocation logger. |
52 | 51 |
*/ |
53 |
@Resource
|
|
52 |
@Autowired
|
|
54 | 53 |
private transient NotificationInvocationLogger invocationLogger; |
55 | 54 |
|
56 | 55 |
/** |
Also available in: Unified diff
Chnaged Resource to Autowired