public class ServiceRegistryImpl extends Object implements ServiceRegistry
ServiceRegistry which is backed by a
data access object that handles reading and writing data related to registry
entries from a backend datastore.| Constructor and Description |
|---|
ServiceRegistryImpl() |
public ServiceRegistryImpl()
public List<ServiceInfo> getOnlineServicesByName(QName serviceName) throws RiceIllegalArgumentException
getOnlineServicesByName in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<ServiceInfo> getAllOnlineServices()
getAllOnlineServices in interface ServiceRegistrypublic List<ServiceInfo> getAllServices()
getAllServices in interface ServiceRegistrypublic List<ServiceInfo> getAllServicesForInstance(String instanceId) throws RiceIllegalArgumentException
getAllServicesForInstance in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<ServiceInfo> getAllServicesForApplication(String applicationId) throws RiceIllegalArgumentException
getAllServicesForApplication in interface ServiceRegistryRiceIllegalArgumentExceptionpublic ServiceDescriptor getServiceDescriptor(String serviceDescriptorId) throws RiceIllegalArgumentException
getServiceDescriptor in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<ServiceDescriptor> getServiceDescriptors(List<String> serviceDescriptorIds) throws RiceIllegalArgumentException
getServiceDescriptors in interface ServiceRegistryRiceIllegalArgumentExceptionpublic ServiceEndpoint publishService(ServiceEndpoint serviceEndpoint) throws RiceIllegalArgumentException
publishService in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<ServiceEndpoint> publishServices(List<ServiceEndpoint> serviceEndpoints) throws RiceIllegalArgumentException
publishServices in interface ServiceRegistryRiceIllegalArgumentExceptionpublic ServiceEndpoint removeServiceEndpoint(String serviceId) throws RiceIllegalArgumentException
removeServiceEndpoint in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<ServiceEndpoint> removeServiceEndpoints(List<String> serviceIds) throws RiceIllegalArgumentException
removeServiceEndpoints in interface ServiceRegistryRiceIllegalArgumentExceptionpublic RemoveAndPublishResult removeAndPublish(List<String> removeServiceIds, List<ServiceEndpoint> publishServiceEndpoints)
removeAndPublish in interface ServiceRegistrypublic boolean updateStatus(String serviceId, ServiceEndpointStatus status) throws RiceIllegalArgumentException
updateStatus in interface ServiceRegistryRiceIllegalArgumentExceptionpublic List<String> updateStatuses(List<String> serviceIds, ServiceEndpointStatus status) throws RiceIllegalArgumentException
updateStatuses in interface ServiceRegistryRiceIllegalArgumentExceptionpublic void takeInstanceOffline(String instanceId) throws RiceIllegalArgumentException
takeInstanceOffline in interface ServiceRegistryRiceIllegalArgumentExceptionpublic DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.