Class Gate3CountingServiceImpl

java.lang.Object
org.j7m.middleware.tests.fixtures.Gate3CountingServiceImpl
All Implemented Interfaces:
Gate3CountingService

public final class Gate3CountingServiceImpl extends Object implements Gate3CountingService
Public test-only counting service implementation.
  • Constructor Details

    • Gate3CountingServiceImpl

      public Gate3CountingServiceImpl()
      Creates a counting service.
  • Method Details

    • secret

      public String secret(String value)
      Records a sensitive value and returns it when invocation is authorized.
      Specified by:
      secret in interface Gate3CountingService
      Parameters:
      value - sensitive input value
      Returns:
      result text
    • invocationCount

      public int invocationCount()
      Returns the number of executed method bodies.
      Returns:
      invocation count