public final class ServiceInfo extends AbstractDataTransferObject implements ServiceInfoContract
ServiceInfoContract interface.
Includes standard configuration information about a service that has been
published to the service registry.| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceInfo.Builder
A builder which can be used to construct
ServiceInfo instances. |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
Returns the id of the application that published and owns the service.
|
String |
getChecksum()
Returns a checksum value for the
ServiceConfiguration stored in the
ServiceDescriptorContract for this service. |
String |
getEndpointUrl()
Returns the URL of the service as a string.
|
String |
getInstanceId()
Returns the id of the instance that published and owns the service.
|
String |
getServerIpAddress()
Return the IP address of the server on which the application is running which
published and owns the service.
|
String |
getServiceDescriptorId()
Returns the id of the service descriptor for this service.
|
String |
getServiceId()
Returns the identifier for the service.
|
QName |
getServiceName()
Returns the name of the service as a qualified name consisting of a
namespace and a name.
|
String |
getServiceVersion()
Returns the version information of this service.
|
ServiceEndpointStatus |
getStatus()
Return the status of the service endpoint represented by this service.
|
String |
getType()
Returns the type of this service.
|
Long |
getVersionNumber()
Deprecated value which previously stored version number for optimistic locking purposes.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getServiceId()
ServiceInfoContractgetServiceId in interface ServiceInfoContractpublic QName getServiceName()
ServiceInfoContractgetServiceName in interface ServiceInfoContractpublic String getEndpointUrl()
ServiceInfoContractgetEndpointUrl in interface ServiceInfoContractpublic String getInstanceId()
ServiceInfoContractgetInstanceId in interface ServiceInfoContractpublic String getApplicationId()
ServiceInfoContractgetApplicationId in interface ServiceInfoContractpublic String getServerIpAddress()
ServiceInfoContractgetServerIpAddress in interface ServiceInfoContractpublic String getType()
ServiceInfoContractgetType in interface ServiceInfoContractpublic String getServiceVersion()
ServiceInfoContractCoreConstants.Versions#UNSPECIFIED.getServiceVersion in interface ServiceInfoContractCoreConstants.Versions#UNSPECIFIED
if no version has been secified, should never return a null or blank valuepublic ServiceEndpointStatus getStatus()
ServiceInfoContractgetStatus in interface ServiceInfoContractpublic String getServiceDescriptorId()
ServiceInfoContractServiceDescriptorContract for this
service which includes more detailed information on this service.getServiceDescriptorId in interface ServiceInfoContractpublic String getChecksum()
ServiceInfoContractServiceConfiguration stored in the
ServiceDescriptorContract for this service. This allows for fast
comparison of services during various registry operations.getChecksum in interface ServiceInfoContractpublic Long getVersionNumber()
ServiceInfoContractgetVersionNumber in interface VersionedgetVersionNumber in interface ServiceInfoContractCopyright © 2005–2016 The Kuali Foundation. All rights reserved.