Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
DefaultUniqueServiceLocator.java | ||
---|---|---|
4 | 4 |
import java.io.StringWriter; |
5 | 5 |
import java.util.*; |
6 | 6 |
import java.util.stream.Collectors; |
7 |
import javax.annotation.Resource; |
|
8 | 7 |
|
9 | 8 |
import eu.dnetlib.enabling.tools.BaseServiceUtils; |
10 | 9 |
import eu.dnetlib.rmi.common.BaseService; |
... | ... | |
20 | 19 |
import org.dom4j.Element; |
21 | 20 |
import org.dom4j.io.SAXReader; |
22 | 21 |
import org.springframework.beans.BeansException; |
22 |
import org.springframework.beans.factory.annotation.Autowired; |
|
23 | 23 |
import org.springframework.beans.factory.annotation.Required; |
24 | 24 |
import org.springframework.context.ApplicationContext; |
25 | 25 |
import org.springframework.context.ApplicationContextAware; |
... | ... | |
40 | 40 |
/** |
41 | 41 |
* An instance of isLookupService (local or stub) |
42 | 42 |
*/ |
43 |
@Resource
|
|
43 |
@Autowired
|
|
44 | 44 |
private ISLookUpService isLookupService; |
45 | 45 |
/** |
46 | 46 |
* build epr. |
47 | 47 |
*/ |
48 |
@Resource
|
|
48 |
@Autowired
|
|
49 | 49 |
private StandaloneCxfEndpointReferenceBuilder eprBuilder; |
50 | 50 |
|
51 | 51 |
@Override |
Also available in: Unified diff
Chnaged Resource to Autowired