Class Gate3CountingServiceImpl
java.lang.Object
org.j7m.middleware.tests.fixtures.Gate3CountingServiceImpl
- All Implemented Interfaces:
Gate3CountingService
Public test-only counting service implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of executed method bodies.Records a sensitive value and returns it when invocation is authorized.
-
Constructor Details
-
Gate3CountingServiceImpl
public Gate3CountingServiceImpl()Creates a counting service.
-
-
Method Details
-
secret
Records a sensitive value and returns it when invocation is authorized.- Specified by:
secretin interfaceGate3CountingService- Parameters:
value- sensitive input value- Returns:
- result text
-
invocationCount
public int invocationCount()Returns the number of executed method bodies.- Returns:
- invocation count
-