public class OperationServiceV2 extends AbstractOperationService implements IOperationServiceV2
IOperationServiceV2. By default it will use a singleton
Graph generated using the GraphFactory.
All operations are simple delegated to the graph.
Pre and post operation hooks are available by extending this class and implementing preOperationHook and/or
postOperationHook.| Modifier and Type | Field and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
OperationServiceV2() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
execute(Operation operation) |
javax.ws.rs.core.Response |
executeChunked(Operation operation) |
javax.ws.rs.core.Response |
executeChunkedChain(OperationChain opChain) |
javax.ws.rs.core.Response |
getOperationDetails() |
javax.ws.rs.core.Response |
getOperations() |
javax.ws.rs.core.Response |
nextOperations(String operationClassName) |
javax.ws.rs.core.Response |
operationDetails(String className) |
javax.ws.rs.core.Response |
operationExample(String className) |
getSupportedOperationDetails, getSupportedOperationspublic javax.ws.rs.core.Response getOperations()
getOperations in interface IOperationServiceV2public javax.ws.rs.core.Response getOperationDetails()
getOperationDetails in interface IOperationServiceV2public javax.ws.rs.core.Response execute(Operation operation)
execute in interface IOperationServiceV2public javax.ws.rs.core.Response executeChunked(Operation operation)
executeChunked in interface IOperationServiceV2public javax.ws.rs.core.Response executeChunkedChain(OperationChain opChain)
executeChunkedChain in interface IOperationServiceV2public javax.ws.rs.core.Response operationDetails(String className) throws InstantiationException, IllegalAccessException
operationDetails in interface IOperationServiceV2InstantiationExceptionIllegalAccessExceptionpublic javax.ws.rs.core.Response operationExample(String className) throws InstantiationException, IllegalAccessException
operationExample in interface IOperationServiceV2InstantiationExceptionIllegalAccessExceptionpublic javax.ws.rs.core.Response nextOperations(String operationClassName)
nextOperations in interface IOperationServiceV2Copyright © 2022. All rights reserved.