test_class.declarator: dataObjectService
test_class.modifier: @Mock private
test_class.original_string: @Mock private DataObjectService dataObjectService;
test_class.type: DataObjectService
test_class.var_name: dataObjectService
test_class.declarator: serviceRegistryImpl = new ServiceRegistryImpl()
test_class.modifier: @InjectMocks private
test_class.original_string: @InjectMocks private ServiceRegistryImpl serviceRegistryImpl = new ServiceRegistryImpl();
test_class.type: ServiceRegistryImpl
test_class.var_name: serviceRegistryImpl
test_class.declarator: serviceRegistry = serviceRegistryImpl
test_class.modifier: private
test_class.original_string: private ServiceRegistry serviceRegistry = serviceRegistryImpl;
test_class.type: ServiceRegistry
test_class.var_name: serviceRegistry
test_class.declarator: ID_VALUE = 0
test_class.modifier: private static
test_class.original_string: private static int ID_VALUE = 0;
test_class.type: int
test_class.var_name: ID_VALUE
test_class.file: rice-middleware/ksb/server-impl/src/test/java/org/kuali/rice/ksb/impl/registry/ServiceRegistryImplTest.java
test_class.identifier: ServiceRegistryImplTest
test_case.body: @Test(expected = RiceIllegalArgumentException.class)
      public void testGetAllServicesForInstance_Null() {
          serviceRegistry.getAllServicesForInstance(null);
      }
test_case.class_method_signature: ServiceRegistryImplTest.testGetAllServicesForInstance_Null()
test_case.full_signature: @Test(expected = RiceIllegalArgumentException.class) public void testGetAllServicesForInstance_Null()
test_case.identifier: testGetAllServicesForInstance_Null
test_case.invocations: getAllServicesForInstance
test_case.modifiers: @Test(expected = RiceIllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetAllServicesForInstance_Null()
focal_class.declarator: dataObjectService
focal_class.modifier: private
focal_class.original_string: private DataObjectService dataObjectService;
focal_class.type: DataObjectService
focal_class.var_name: dataObjectService
focal_class.file: rice-middleware/ksb/server-impl/src/main/java/org/kuali/rice/ksb/impl/registry/ServiceRegistryImpl.java
focal_class.identifier: ServiceRegistryImpl
focal_class.interfaces: implements ServiceRegistry
focal_class.class_method_signature: ServiceRegistryImpl.getOnlineServicesByName(QName serviceName)
focal_class.full_signature: @Override public List<ServiceInfo> getOnlineServicesByName(QName serviceName)
focal_class.identifier: getOnlineServicesByName
focal_class.modifiers: @Override public
focal_class.parameters: (QName serviceName)
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> getOnlineServicesByName(QName serviceName)
focal_class.class_method_signature: ServiceRegistryImpl.getAllOnlineServices()
focal_class.full_signature: @Override public List<ServiceInfo> getAllOnlineServices()
focal_class.identifier: getAllOnlineServices
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> getAllOnlineServices()
focal_class.class_method_signature: ServiceRegistryImpl.getAllServices()
focal_class.full_signature: @Override public List<ServiceInfo> getAllServices()
focal_class.identifier: getAllServices
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> getAllServices()
focal_class.class_method_signature: ServiceRegistryImpl.getAllServicesForInstance(String instanceId)
focal_class.full_signature: @Override public List<ServiceInfo> getAllServicesForInstance(String instanceId)
focal_class.identifier: getAllServicesForInstance
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> getAllServicesForInstance(String instanceId)
focal_class.class_method_signature: ServiceRegistryImpl.getAllServicesForApplication(String applicationId)
focal_class.full_signature: @Override public List<ServiceInfo> getAllServicesForApplication(String applicationId)
focal_class.identifier: getAllServicesForApplication
focal_class.modifiers: @Override public
focal_class.parameters: (String applicationId)
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> getAllServicesForApplication(String applicationId)
focal_class.class_method_signature: ServiceRegistryImpl.getServiceDescriptor(String serviceDescriptorId)
focal_class.full_signature: @Override public ServiceDescriptor getServiceDescriptor(String serviceDescriptorId)
focal_class.identifier: getServiceDescriptor
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceDescriptorId)
focal_class.return: ServiceDescriptor
focal_class.signature: ServiceDescriptor getServiceDescriptor(String serviceDescriptorId)
focal_class.class_method_signature: ServiceRegistryImpl.getServiceDescriptors(List<String> serviceDescriptorIds)
focal_class.full_signature: @Override public List<ServiceDescriptor> getServiceDescriptors(List<String> serviceDescriptorIds)
focal_class.identifier: getServiceDescriptors
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> serviceDescriptorIds)
focal_class.return: List<ServiceDescriptor>
focal_class.signature: List<ServiceDescriptor> getServiceDescriptors(List<String> serviceDescriptorIds)
focal_class.class_method_signature: ServiceRegistryImpl.publishService(ServiceEndpoint serviceEndpoint)
focal_class.full_signature: @Override public ServiceEndpoint publishService(ServiceEndpoint serviceEndpoint)
focal_class.identifier: publishService
focal_class.modifiers: @Override public
focal_class.parameters: (ServiceEndpoint serviceEndpoint)
focal_class.return: ServiceEndpoint
focal_class.signature: ServiceEndpoint publishService(ServiceEndpoint serviceEndpoint)
focal_class.class_method_signature: ServiceRegistryImpl.publishServices(List<ServiceEndpoint> serviceEndpoints)
focal_class.full_signature: @Override public List<ServiceEndpoint> publishServices(List<ServiceEndpoint> serviceEndpoints)
focal_class.identifier: publishServices
focal_class.modifiers: @Override public
focal_class.parameters: (List<ServiceEndpoint> serviceEndpoints)
focal_class.return: List<ServiceEndpoint>
focal_class.signature: List<ServiceEndpoint> publishServices(List<ServiceEndpoint> serviceEndpoints)
focal_class.class_method_signature: ServiceRegistryImpl.removeServiceEndpoint(String serviceId)
focal_class.full_signature: @Override public ServiceEndpoint removeServiceEndpoint(String serviceId)
focal_class.identifier: removeServiceEndpoint
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceId)
focal_class.return: ServiceEndpoint
focal_class.signature: ServiceEndpoint removeServiceEndpoint(String serviceId)
focal_class.class_method_signature: ServiceRegistryImpl.removeServiceEndpoints(List<String> serviceIds)
focal_class.full_signature: @Override public List<ServiceEndpoint> removeServiceEndpoints(List<String> serviceIds)
focal_class.identifier: removeServiceEndpoints
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> serviceIds)
focal_class.return: List<ServiceEndpoint>
focal_class.signature: List<ServiceEndpoint> removeServiceEndpoints(List<String> serviceIds)
focal_class.class_method_signature: ServiceRegistryImpl.removeAndPublish(List<String> removeServiceIds,
  			List<ServiceEndpoint> publishServiceEndpoints)
focal_class.full_signature: @Override public RemoveAndPublishResult removeAndPublish(List<String> removeServiceIds,
  			List<ServiceEndpoint> publishServiceEndpoints)
focal_class.identifier: removeAndPublish
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> removeServiceIds,
  			List<ServiceEndpoint> publishServiceEndpoints)
focal_class.return: RemoveAndPublishResult
focal_class.signature: RemoveAndPublishResult removeAndPublish(List<String> removeServiceIds,
  			List<ServiceEndpoint> publishServiceEndpoints)
focal_class.class_method_signature: ServiceRegistryImpl.updateStatus(String serviceId, ServiceEndpointStatus status)
focal_class.full_signature: @Override public boolean updateStatus(String serviceId, ServiceEndpointStatus status)
focal_class.identifier: updateStatus
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceId, ServiceEndpointStatus status)
focal_class.return: boolean
focal_class.signature: boolean updateStatus(String serviceId, ServiceEndpointStatus status)
focal_class.class_method_signature: ServiceRegistryImpl.updateStatuses(List<String> serviceIds, ServiceEndpointStatus status)
focal_class.full_signature: @Override public List<String> updateStatuses(List<String> serviceIds, ServiceEndpointStatus status)
focal_class.identifier: updateStatuses
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> serviceIds, ServiceEndpointStatus status)
focal_class.return: List<String>
focal_class.signature: List<String> updateStatuses(List<String> serviceIds, ServiceEndpointStatus status)
focal_class.class_method_signature: ServiceRegistryImpl.takeInstanceOffline(String instanceId)
focal_class.full_signature: @Override public void takeInstanceOffline(String instanceId)
focal_class.identifier: takeInstanceOffline
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: void
focal_class.signature: void takeInstanceOffline(String instanceId)
focal_class.class_method_signature: ServiceRegistryImpl.convertServiceInfoBoList(List<ServiceInfoBo> serviceInfoBos)
focal_class.full_signature: private List<ServiceInfo> convertServiceInfoBoList(List<ServiceInfoBo> serviceInfoBos)
focal_class.identifier: convertServiceInfoBoList
focal_class.modifiers: private
focal_class.parameters: (List<ServiceInfoBo> serviceInfoBos)
focal_class.return: List<ServiceInfo>
focal_class.signature: List<ServiceInfo> convertServiceInfoBoList(List<ServiceInfoBo> serviceInfoBos)
focal_class.class_method_signature: ServiceRegistryImpl.getDataObjectService()
focal_class.full_signature: public DataObjectService getDataObjectService()
focal_class.identifier: getDataObjectService
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DataObjectService
focal_class.signature: DataObjectService getDataObjectService()
focal_class.class_method_signature: ServiceRegistryImpl.setDataObjectService(DataObjectService dataObjectService)
focal_class.full_signature: @Required public void setDataObjectService(DataObjectService dataObjectService)
focal_class.identifier: setDataObjectService
focal_class.modifiers: @Required public
focal_class.parameters: (DataObjectService dataObjectService)
focal_class.return: void
focal_class.signature: void setDataObjectService(DataObjectService dataObjectService)
focal_method.body: @Override
  	public List<ServiceInfo> getAllServicesForInstance(String instanceId) throws RiceIllegalArgumentException {
  		if (StringUtils.isBlank(instanceId)) {
  			throw new RiceIllegalArgumentException("instanceId cannot be blank");
  		}
          QueryByCriteria.Builder builder = QueryByCriteria.Builder.create();
          builder.setPredicates(equal("instanceId",instanceId));
          List<ServiceInfoBo> serviceInfoBos = getDataObjectService().findMatching(
                  ServiceInfoBo.class,builder.build()).getResults();
  		return convertServiceInfoBoList(serviceInfoBos);
  	}
focal_method.class_method_signature: ServiceRegistryImpl.getAllServicesForInstance(String instanceId)
focal_method.full_signature: @Override public List<ServiceInfo> getAllServicesForInstance(String instanceId)
focal_method.identifier: getAllServicesForInstance
focal_method.invocations: isBlank create setPredicates equal getResults findMatching getDataObjectService build convertServiceInfoBoList
focal_method.modifiers: @Override public
focal_method.parameters: (String instanceId)
focal_method.return: List<ServiceInfo>
focal_method.signature: List<ServiceInfo> getAllServicesForInstance(String instanceId)