Interface MessagingEntryPoint.EntryPoints
- Enclosing class:
MessagingEntryPoint
Factory used by generated code to wrap messaging handlers with entry-point interceptors.
-
Method Summary
Modifier and TypeMethodDescriptionbatchHandler(ServiceDescriptor<?> descriptor, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, MessagingEntryPoint.BatchHandler<T> actualHandler) Create an intercepted batch handler for an original service method.<T> MessagingEntryPoint.Handler<T> handler(ServiceDescriptor<?> descriptor, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, MessagingEntryPoint.Handler<T> actualHandler) Create an intercepted handler for an original service method.
-
Method Details
-
handler
<T> MessagingEntryPoint.Handler<T> handler(ServiceDescriptor<?> descriptor, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, MessagingEntryPoint.Handler<T> actualHandler) Create an intercepted handler for an original service method.- Type Parameters:
T- service type- Parameters:
descriptor- original service descriptortypeAnnotations- annotations on the original service typemethodInfo- original service method metadataactualHandler- handler that invokes the original service method- Returns:
- intercepted handler
- Throws:
NullPointerException- if any argument isnull
-
batchHandler
<T> MessagingEntryPoint.BatchHandler<T> batchHandler(ServiceDescriptor<?> descriptor, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, MessagingEntryPoint.BatchHandler<T> actualHandler) Create an intercepted batch handler for an original service method.- Type Parameters:
T- service type- Parameters:
descriptor- original service descriptortypeAnnotations- annotations on the original service typemethodInfo- original service method metadataactualHandler- handler that invokes the original service method- Returns:
- intercepted batch handler
- Throws:
NullPointerException- if any argument isnull
-