Class RecorderFactory

java.lang.Object
ee.jakarta.tck.ws.rs.signaturetest.RecorderFactory

public class RecorderFactory extends Object

This class is a bit overloaded in that it serves as both a factory and entry point from Ant to handle signature recording.

The desired type is provided using a system property with a key of recorder.type. Valid values for the recorder.type property are:

  • apicheck
  • sigtest

If the recorder.type property is not set, this factory will return a SignatureTestRecorder using the SigTest framework.

  • Field Details

  • Constructor Details

    • RecorderFactory

      public RecorderFactory()
  • Method Details

    • getRecorder

      public static Recorder getRecorder(String type, String[] args)
      Returns a Recorder instance to handle recording signatures based on the value specified via the type argument.
      Parameters:
      type - the type of Recorder to use
      args - the args to pass to the Recorder
      Returns:
      a Recorder instanced based on the type provided
    • main

      public static void main(String[] args)