Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
HCMSubscriberImpl.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.enabling.hcm.sn; |
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 |
|
|
5 | 4 |
import javax.annotation.PostConstruct; |
6 |
import javax.annotation.Resource; |
|
7 | 5 |
|
6 |
import eu.dnetlib.enabling.actions.SubscriptionAction; |
|
7 |
import eu.dnetlib.enabling.hcm.HostingContextManagerServiceImpl; |
|
8 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
|
8 | 9 |
import org.apache.commons.logging.Log; |
9 | 10 |
import org.apache.commons.logging.LogFactory; |
10 | 11 |
import org.springframework.beans.factory.annotation.Autowired; |
11 | 12 |
import org.springframework.beans.factory.annotation.Required; |
12 | 13 |
|
13 |
import eu.dnetlib.enabling.actions.SubscriptionAction; |
|
14 |
import eu.dnetlib.enabling.hcm.HostingContextManagerServiceImpl; |
|
15 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
|
16 |
|
|
17 | 14 |
/** |
18 | 15 |
* This component takes care of subscribing the SubscriptionAction(s) to interesting events. |
19 | 16 |
* |
... | ... | |
30 | 27 |
/** |
31 | 28 |
* service locator. |
32 | 29 |
*/ |
33 |
@Resource
|
|
30 |
@Autowired
|
|
34 | 31 |
private UniqueServiceLocator serviceLocator; |
35 | 32 |
|
36 | 33 |
/** |
Also available in: Unified diff
Chnaged Resource to Autowired