Class InfiniteServiceLoopDetector

java.lang.Object
com.aquima.interactions.portal.model.def.InfiniteServiceLoopDetector
All Implemented Interfaces:
IServiceManager

public class InfiniteServiceLoopDetector extends Object implements IServiceManager
Service manager implementation that can detect infinite looping service calls.
Since:
6.4
Author:
Jon van Leuven
  • Constructor Details

    • InfiniteServiceLoopDetector

      public InfiniteServiceLoopDetector(IServiceManager serviceManager, IServiceContext context)
      Construct a infinite loop detecting service manager with a delegate service manager and a service context.
      Parameters:
      serviceManager - The delegating service manager.
      context - The service context.
  • Method Details

    • getServiceCall

      public IServiceCall getServiceCall(String serviceCallName)
      Description copied from interface: IServiceManager
      This method can be used to retrieve a service call implementation.
      Specified by:
      getServiceCall in interface IServiceManager
      Parameters:
      serviceCallName - The service call name used for lookup (case insensitive)
      Returns:
      A service call implementation, never null.
    • getServiceCallStack

      protected Set<String> getServiceCallStack()
    • getServiceCallNames

      public String[] getServiceCallNames()
      Description copied from interface: IServiceManager
      This method returns all available service call names.
      Specified by:
      getServiceCallNames in interface IServiceManager
      Returns:
      An array containing all service call names, never null.