@Path(value="/soa/discovery") public class DiscoveryApis extends Object
| Constructor and Description | 
|---|
DiscoveryApis(SoaFeatures features)  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.ws.rs.core.Response | 
getInstance(String serviceName)  | 
Collection<DiscoveryInstance> | 
getInstances(String serviceName)  | 
List<String> | 
getServiceNames()  | 
@Inject public DiscoveryApis(SoaFeatures features)
@GET
 @Produces(value="application/json")
 @Path(value="single/{name}")
public javax.ws.rs.core.Response getInstance(@PathParam(value="name")
                                                                                                                     String serviceName)
@GET
 @Produces(value="application/json")
 @Path(value="all/{name}")
public Collection<DiscoveryInstance> getInstances(@PathParam(value="name")
                                                                                                                       String serviceName)
Copyright © 2014–2016 Soabase. All rights reserved.