Revision 42659
Added by Sandro La Bruzzo almost 8 years ago
ISSNServiceImpl.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.util.Calendar; |
4 | 4 |
import java.util.List; |
5 |
|
|
6 | 5 |
import javax.annotation.Resource; |
7 | 6 |
import javax.xml.ws.Endpoint; |
8 | 7 |
import javax.xml.ws.wsaddressing.W3CEndpointReference; |
9 | 8 |
|
10 |
import org.apache.commons.logging.Log; |
|
11 |
import org.apache.commons.logging.LogFactory; |
|
12 |
|
|
13 | 9 |
import eu.dnetlib.enabling.tools.AbstractBaseService; |
14 | 10 |
import eu.dnetlib.rmi.enabling.ISSNException; |
15 | 11 |
import eu.dnetlib.rmi.enabling.ISSNService; |
16 | 12 |
import eu.dnetlib.rmi.enabling.SubscriptionRequestRejectedException; |
17 | 13 |
import eu.dnetlib.soap.EndpointReferenceBuilder; |
14 |
import org.apache.commons.logging.Log; |
|
15 |
import org.apache.commons.logging.LogFactory; |
|
18 | 16 |
|
19 | 17 |
/** |
20 | 18 |
* implementation of ISSNService. |
... | ... | |
35 | 33 |
private static final int MILLIS_IN_SECOND = 1000; |
36 | 34 |
|
37 | 35 |
/** |
38 |
* service endpoint. |
|
39 |
*/ |
|
40 |
private Endpoint endpoint; |
|
41 |
|
|
42 |
/** |
|
43 | 36 |
* core business logic. |
44 | 37 |
*/ |
45 | 38 |
private ISSNServiceCore core; |
... | ... | |
176 | 169 |
return core.unsubscribe(subscrId); |
177 | 170 |
} |
178 | 171 |
|
179 |
public Endpoint getEndpoint() { |
|
180 |
return endpoint; |
|
181 |
} |
|
182 | 172 |
|
183 |
public void setEndpoint(final Endpoint endpoint) { |
|
184 |
this.endpoint = endpoint; |
|
185 |
} |
|
186 | 173 |
|
187 | 174 |
public ISSNServiceCore getCore() { |
188 | 175 |
return core; |
Also available in: Unified diff
added light-ui