Revision 47793
Added by Claudio Atzori almost 7 years ago
ISStoreServiceImpl.java | ||
---|---|---|
3 | 3 |
import java.util.ArrayList; |
4 | 4 |
import java.util.Iterator; |
5 | 5 |
import java.util.List; |
6 |
|
|
7 | 6 |
import javax.annotation.Resource; |
8 | 7 |
import javax.jws.WebService; |
9 | 8 |
import javax.xml.ws.Endpoint; |
10 | 9 |
|
11 | 10 |
import com.google.common.collect.Iterators; |
11 |
import eu.dnetlib.enabling.is.store.rmi.ISStoreException; |
|
12 |
import eu.dnetlib.enabling.is.store.rmi.ISStoreService; |
|
13 |
import eu.dnetlib.enabling.tools.AbstractBaseService; |
|
14 |
import eu.dnetlib.soap.EndpointReferenceBuilder; |
|
15 |
import eu.dnetlib.xml.database.XMLDatabase; |
|
12 | 16 |
import org.apache.commons.logging.Log; |
13 | 17 |
import org.apache.commons.logging.LogFactory; |
14 | 18 |
import org.quartz.Job; |
15 | 19 |
import org.quartz.JobExecutionException; |
16 |
import org.springframework.beans.factory.annotation.Required; |
|
17 | 20 |
import org.xmldb.api.base.XMLDBException; |
18 | 21 |
|
19 |
import eu.dnetlib.enabling.is.store.rmi.ISStoreException; |
|
20 |
import eu.dnetlib.enabling.is.store.rmi.ISStoreService; |
|
21 |
import eu.dnetlib.enabling.resultset.ResultSetFactory; |
|
22 |
import eu.dnetlib.enabling.tools.AbstractBaseService; |
|
23 |
import eu.dnetlib.soap.EndpointReferenceBuilder; |
|
24 |
import eu.dnetlib.xml.database.XMLDatabase; |
|
25 |
|
|
26 | 22 |
/** |
27 | 23 |
* ISStore service implementation. |
28 | 24 |
* |
... | ... | |
48 | 44 |
private Endpoint endpoint; |
49 | 45 |
|
50 | 46 |
/** |
51 |
* locally created resultsets will be created through this factory. |
|
52 |
*/ |
|
53 |
private ResultSetFactory resultSetFactory; |
|
54 |
|
|
55 |
/** |
|
56 | 47 |
* injected EPR builder. |
57 | 48 |
*/ |
58 | 49 |
@Resource(name = "jaxwsEndpointReferenceBuilder") |
... | ... | |
321 | 312 |
this.eprBuilder = eprBuilder; |
322 | 313 |
} |
323 | 314 |
|
324 |
public ResultSetFactory getResultSetFactory() { |
|
325 |
return resultSetFactory; |
|
326 |
} |
|
327 |
|
|
328 |
@Required |
|
329 |
public void setResultSetFactory(final ResultSetFactory resultSetFactory) { |
|
330 |
this.resultSetFactory = resultSetFactory; |
|
331 |
} |
|
332 |
|
|
333 | 315 |
public Job getContentInitializerJob() { |
334 | 316 |
return contentInitializerJob; |
335 | 317 |
} |
Also available in: Unified diff
depending on released parent, removed dependency to resultset service