Revision c8d6f9c4
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.api.application; |
11 | 10 |
|
12 | 11 |
import java.util.ArrayList; |
... | ... | |
97 | 96 |
import eu.etaxonomy.taxeditor.session.CdmEntitySessionManager; |
98 | 97 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionManager; |
99 | 98 |
|
100 |
|
|
101 | 99 |
/** |
102 | 100 |
* CDM Application Configuration class which manages the configuration for remoting |
103 | 101 |
* clients |
... | ... | |
131 | 129 |
*/ |
132 | 130 |
public static final int HTTP_READ_TIMEOUT = 10 * 60 * 1000; |
133 | 131 |
|
134 |
|
|
135 | 132 |
protected ApplicationContext applicationContext; |
136 | 133 |
|
137 | 134 |
private ICdmRemoteSource remoteSource; |
... | ... | |
157 | 154 |
|
158 | 155 |
public CdmApplicationRemoteConfiguration(ICdmRemoteSource remoteSource) { |
159 | 156 |
this.remoteSource = remoteSource; |
160 |
|
|
161 | 157 |
} |
162 | 158 |
|
163 | 159 |
public void setRemoteSource(ICdmRemoteSource remoteSource) { |
... | ... | |
423 | 419 |
return (IPolytomousKeyService) getService(IPolytomousKeyService.class, "/remoting/polytomouskey.service", new AuthenticatingHttpInvokerRequestExecutor()); |
424 | 420 |
} |
425 | 421 |
|
426 |
|
|
427 | 422 |
@Override |
428 | 423 |
public IPolytomousKeyNodeService getPolytomousKeyNodeService(){ |
429 | 424 |
return (IPolytomousKeyNodeService) getService(IPolytomousKeyNodeService.class, "/remoting/polytomouskeynode.service", new AuthenticatingHttpInvokerRequestExecutor()); |
Also available in: Unified diff
cleanup