@Path(value="async") public class AsynchronousJobService extends Object
AsynchronousJobPool.
Instance of AsynchronousJobPool obtained in instance of this class via mechanism of injections.
This resource must always be deployed as per-request resource.| Constructor and Description |
|---|
AsynchronousJobService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Long jobId,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.SecurityContext securityContext) |
javax.ws.rs.core.GenericEntity<List<AsynchronousProcess>> |
list() |
void |
remove(Long jobId,
javax.ws.rs.core.SecurityContext securityContext) |
@GET
@Path(value="{job}")
public Object get(@PathParam(value="job")
Long jobId,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.SecurityContext securityContext)
@GET
@Produces(value={"application/json","text/plain"})
public javax.ws.rs.core.GenericEntity<List<AsynchronousProcess>> list()
@DELETE
@Path(value="{job}")
public void remove(@PathParam(value="job")
Long jobId,
@Context
javax.ws.rs.core.SecurityContext securityContext)
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.