org.broadleafcommerce.core.extension
Class ExtensionResultHolder

java.lang.Object
  extended by org.broadleafcommerce.core.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.

Author:
bpolster

Constructor Summary
ExtensionResultHolder()
           
 
Method Summary
 Object getResult()
           
 Throwable getThrowable()
           
 void setResult(Object result)
           
 void setThrowable(Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionResultHolder

public ExtensionResultHolder()
Method Detail

getResult

public Object getResult()

setResult

public void setResult(Object result)

getThrowable

public Throwable getThrowable()

setThrowable

public void setThrowable(Throwable throwable)


Copyright © 2013. All Rights Reserved.