Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
CompatPendingResourceManagerImpl.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.enabling.is.registry; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 | 3 |
import javax.xml.xpath.XPathExpressionException; |
5 | 4 |
|
6 |
import org.springframework.beans.factory.annotation.Required; |
|
7 |
|
|
8 | 5 |
import eu.dnetlib.enabling.is.registry.schema.ValidationException; |
9 | 6 |
import eu.dnetlib.enabling.is.registry.validation.ProfileValidationStrategy; |
10 | 7 |
import eu.dnetlib.enabling.is.registry.validation.RegistrationPhase; |
11 | 8 |
import eu.dnetlib.enabling.tools.OpaqueResource; |
12 | 9 |
import eu.dnetlib.rmi.enabling.ISRegistryException; |
13 | 10 |
import eu.dnetlib.rmi.enabling.ISRegistryService; |
11 |
import org.springframework.beans.factory.annotation.Autowired; |
|
12 |
import org.springframework.beans.factory.annotation.Required; |
|
14 | 13 |
|
15 | 14 |
/** |
16 | 15 |
* implement the compatibility pending profile policy. |
... | ... | |
37 | 36 |
/** |
38 | 37 |
* used to validate resources w.r.t. a set of defined properties. |
39 | 38 |
*/ |
40 |
@Resource
|
|
39 |
@Autowired
|
|
41 | 40 |
private ProfileValidationStrategy profileValidationStrategy; |
42 | 41 |
|
43 | 42 |
/** |
Also available in: Unified diff
Chnaged Resource to Autowired