Interface StatusTemplateFactory

All Known Implementing Classes:
WebScriptException

public interface StatusTemplateFactory
Interface to enable the lazy retrieval of the template and associated model corresponding to a particular webscript status code. Used in the event of an exception during web script execution and avoids retrieving the information unnecessarily (potentially causing deadlocks) in the event of a retried transaction.
Author:
dward
  • Method Details

    • getStatusTemplate

      StatusTemplate getStatusTemplate()
      Retrieve the status template
      Returns:
      template
    • getStatusModel

      Map<String,Object> getStatusModel()
      Retrieve the status model
      Returns:
      model