Class ServicesEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.ServicesEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()OSGI activate method.javax.ws.rs.core.ResponsegetServices(int limit, int offset, String filter, String sort) voidsetServiceRegistry(ServiceRegistry serviceRegistry)
-
Constructor Details
-
ServicesEndpoint
public ServicesEndpoint()
-
-
Method Details
-
getServices
@GET @Path("services.json") @Produces("application/json") public javax.ws.rs.core.Response getServices(@QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("filter") String filter, @QueryParam("sort") String sort) throws Exception - Throws:
Exception
-
activate
public void activate()OSGI activate method. -
setServiceRegistry
- Parameters:
serviceRegistry- the serviceRegistry to set
-