1
|
/**
|
2
|
* Copyright (C) 2014 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.taxeditor.remoting.source;
|
10
|
|
11
|
import eu.etaxonomy.cdm.config.ICdmSource;
|
12
|
|
13
|
/**
|
14
|
* Interface representing a CDM remote source
|
15
|
*
|
16
|
*/
|
17
|
public interface ICdmRemoteSource extends ICdmSource {
|
18
|
|
19
|
/**
|
20
|
* Gets the context path.
|
21
|
* e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the
|
22
|
* context path would be 'col'
|
23
|
*/
|
24
|
public String getContextPath();
|
25
|
|
26
|
/**
|
27
|
* Gets the base url for the http-invoker services as listed in
|
28
|
* httpInvokerServicesClients.xml.
|
29
|
* e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the
|
30
|
* base url would be 'http://127.0.0.1:8080/col'
|
31
|
*/
|
32
|
public String getBaseUrl();
|
33
|
|
34
|
}
|