org.broadleafcommerce.common.extension
Class ExtensionResultHolder
java.lang.Object
org.broadleafcommerce.common.extension.ExtensionResultHolder
public class ExtensionResultHolder
- extends Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionResultHolder
public ExtensionResultHolder()
getResult
public Object getResult()
setResult
public void setResult(Object result)
getThrowable
public Throwable getThrowable()
setThrowable
public void setThrowable(Throwable throwable)
getContextMap
public Map<String,Object> getContextMap()
Copyright © 2013. All Rights Reserved.