org.springframework.extensions.webscripts
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 Summary
 Map<String,Object> getStatusModel()
          Retrieve the status model
 StatusTemplate getStatusTemplate()
          Retrieve the status template
 

Method Detail

getStatusTemplate

StatusTemplate getStatusTemplate()
Retrieve the status template

Returns:
template

getStatusModel

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

Returns:
model


Copyright © 2009 SpringSource, Inc. All Rights Reserved.