Class AsynchronousClientForValidationClass

java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.invalidParameters.AsynchronousClientForValidationClass

@ApplicationScoped @Asynchronous public class AsynchronousClientForValidationClass extends Object
  • Constructor Details

    • AsynchronousClientForValidationClass

      public AsynchronousClientForValidationClass()
  • Method Details

    • getStringAsync

      public Future<String> getStringAsync()
      Valid
      Returns:
      Future("foo")
    • getString

      public String getString()
      Invalid because the class is annotated with Asynchronous but the method does not return Future or CompletionStage.
      Returns:
      "foo"