T
- the Operation
type@FunctionalInterface protected static interface AnnotationEndpointDiscoverer.EndpointOperationFactory<T extends Operation>
EndpointOperationFactory
creates an Operation
for an operation
on an endpoint.Modifier and Type | Method and Description |
---|---|
T |
createOperation(String endpointId,
org.springframework.core.annotation.AnnotationAttributes operationAttributes,
Object target,
Method operationMethod,
OperationType operationType,
long timeToLive)
Creates an
EndpointOperation for an operation on an endpoint. |
T createOperation(String endpointId, org.springframework.core.annotation.AnnotationAttributes operationAttributes, Object target, Method operationMethod, OperationType operationType, long timeToLive)
EndpointOperation
for an operation on an endpoint.endpointId
- the id of the endpointoperationAttributes
- the annotation attributes for the operationtarget
- the target that implements the operationoperationMethod
- the method on the bean that implements the operationoperationType
- the type of the operationtimeToLive
- the caching period in millisecondsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.