| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ServiceEndpointContract |
|
| 1.0;1 |
| 1 | package org.kuali.rice.ksb.api.registry; | |
| 2 | ||
| 3 | /** | |
| 4 | * Represents a service endpoint that has been published to the service registry. | |
| 5 | * Includes a reference to both {@link ServiceInfoContract} and | |
| 6 | * {@link ServiceDescriptorContract} instances which compose the two different | |
| 7 | * pieces of information about a service endpoint. | |
| 8 | * | |
| 9 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 10 | * | |
| 11 | */ | |
| 12 | public interface ServiceEndpointContract { | |
| 13 | ||
| 14 | /** | |
| 15 | * Returns the service information for this endpoint. | |
| 16 | * | |
| 17 | * @return the service information for this endpoint, should never return null | |
| 18 | */ | |
| 19 | ServiceInfoContract getInfo(); | |
| 20 | ||
| 21 | /** | |
| 22 | * Returns the service descriptor for this endpoint. | |
| 23 | * | |
| 24 | * @return the service descriptor for this endpoint, should never return null | |
| 25 | */ | |
| 26 | ServiceDescriptorContract getDescriptor(); | |
| 27 | ||
| 28 | } |