|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.layerindependent.servicehelper.ServiceCommunication
public class ServiceCommunication
Contains constants for the communication with services in DILIGENT
| Field Summary | |
|---|---|
static java.lang.String |
COLLECTION_MANAGEMENT_SERVICE_NAME
The service name for ColMS as used in communication with DIS |
static java.lang.String |
COLLECTION_MANAGEMENT_SERVICE_URL_SUFFIX
Suffix of ColMS names in EPR |
static java.lang.String |
CONTENT_MANAGEMENT_SERVICE_CLASS
The service class for ContentManagement as used in communication with DIS |
static java.lang.String |
CONTENT_MANAGEMENT_SERVICE_NAME
The service name for CMS as used in communication with DIS |
static java.lang.String |
CONTENT_MANAGEMENT_SERVICE_URL_SUFFIX
Suffix of CMS names in EPR |
static java.lang.String |
CONTENT_MANAGEMENT_URL_SUFFIX
common suffix of all Content Management Services names in EPR |
static java.lang.String |
GCUBE_SERVICE_URL_SUFFIX
Prefix of Diligent Service names in EPR |
static java.lang.String |
LOCAL_EPR_URL_PREFIX
The start of URL for making local calls according to WS-Core Developer's Guide |
static java.lang.String |
STORAGE_MANAGEMENT_SERVICE_NAME
The service name for SMS as used in communication with DIS |
static java.lang.String |
STORAGE_MANAGEMENT_SERVICE_PACKAGE_NAME
The portype name for SMS as used in communication with DIS |
static java.lang.String |
STORAGE_MANAGEMENT_SERVICE_PORTTYPE_NAME
The portype name for SMS as used in communication with DIS |
static java.lang.String |
STORAGE_MANAGEMENT_SERVICE_URL_SUFFIX
Suffix of SMS names in EPR |
static java.lang.String |
WS_CORE_SERVICE_URL_INFIX
The part of the URL following the port that points to services |
static java.lang.String |
WSDL_URL_SUFFIX
The URL suffix to retrieve the WSDL of a service instead of performing a real operaiont |
| Constructor Summary | |
|---|---|
ServiceCommunication()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getLocalURL(java.lang.String serviceSuffix)
Generates a String representing the URL to a service EPR in the same container as defined in the current context using local calls |
static java.lang.String |
getServiceHostBaseURL()
|
static java.lang.String |
getURL(java.lang.String host,
int port,
java.lang.String serviceSuffix)
Generates a String representing the URL to a service EPR in the defined container running with nosec parameter (default in Diligent) |
static java.lang.String |
getURL(java.lang.String host,
int port,
java.lang.String serviceSuffix,
boolean containerStartsWithNosecParam)
Generates a String representing the URL to a service EPR in the defined container |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTENT_MANAGEMENT_SERVICE_CLASS
public static final java.lang.String STORAGE_MANAGEMENT_SERVICE_NAME
public static final java.lang.String STORAGE_MANAGEMENT_SERVICE_PORTTYPE_NAME
public static final java.lang.String STORAGE_MANAGEMENT_SERVICE_PACKAGE_NAME
public static final java.lang.String COLLECTION_MANAGEMENT_SERVICE_NAME
public static final java.lang.String CONTENT_MANAGEMENT_SERVICE_NAME
public static final java.lang.String WS_CORE_SERVICE_URL_INFIX
public static final java.lang.String LOCAL_EPR_URL_PREFIX
public static final java.lang.String GCUBE_SERVICE_URL_SUFFIX
public static final java.lang.String CONTENT_MANAGEMENT_URL_SUFFIX
public static final java.lang.String STORAGE_MANAGEMENT_SERVICE_URL_SUFFIX
public static final java.lang.String CONTENT_MANAGEMENT_SERVICE_URL_SUFFIX
public static final java.lang.String COLLECTION_MANAGEMENT_SERVICE_URL_SUFFIX
public static final java.lang.String WSDL_URL_SUFFIX
| Constructor Detail |
|---|
public ServiceCommunication()
| Method Detail |
|---|
public static java.lang.String getLocalURL(java.lang.String serviceSuffix)
serviceSuffix - the last part of the EPR that identifes the service
public static java.lang.String getServiceHostBaseURL()
throws java.io.IOException
java.io.IOException
public static java.lang.String getURL(java.lang.String host,
int port,
java.lang.String serviceSuffix,
boolean containerStartsWithNosecParam)
serviceSuffix - the last part of the EPR that identifes the servicehost - the node / ip-address of the host running the containerport - the port used by the containercontainerStartsWithNosecParam - if container was started without nosec, https: is used; if set
to true, plain http: is used an any security is performed on
higher layers
public static java.lang.String getURL(java.lang.String host,
int port,
java.lang.String serviceSuffix)
serviceSuffix - the last part of the EPR that identifes the servicehost - the node / ip-address of the host running the containerport - the port used by the container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||