Class ExtensionResultHolder<T>
java.lang.Object
org.broadleafcommerce.common.extension.ExtensionResultHolder<T>
If a service extension using the
ExtensionManager
pattern expects a result from the extension, it should
pass in an instance of this class into the method call.
The extension points can examine or update this class with response information and set a single return value with
setResult(Object)
or add values via the contextMap provided with getContextMap()
- Author:
- bpolster
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
result
-
throwable
-
contextMap
-
-
Constructor Details
-
ExtensionResultHolder
public ExtensionResultHolder()
-
-
Method Details
-
getResult
-
setResult
-
getThrowable
-
setThrowable
-
getContextMap
-