Interface InvokerValidation
public interface InvokerValidation
Includes methods for validating invokers during
@Validation.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidensureAsyncHandlerExists(Class<?> asyncType) Ensures that an async handler exists for the given async type.voidensureAsyncHandlerExists(Class<?> asyncType, Supplier<String> message) Ensures that an async handler exists for the given async type.
-
Method Details
-
ensureAsyncHandlerExists
Ensures that an async handler exists for the given async type. If it does not exist, registers a deployment problem as ifMessages.error(Exception)was called.- Parameters:
asyncType- the required async type, must not benull
-
ensureAsyncHandlerExists
Ensures that an async handler exists for the given async type. If it does not exist, registers a deployment problem as ifMessages.error(Exception)was called. The deployment problem includes the givenmessagein a suitable, implementation-defined manner.- Parameters:
asyncType- the required async type, must not benullmessage- supplier of the error message, must not benullbut may returnnull
-