public abstract class AbstractProcessorSessionExecutionBody<T,X extends java.lang.Exception> extends SessionExecutionBody implements ProcessorSessionExecutionBody
SessionExecutionBody for injecting a set of attributes in local execution
context (maybe in slayer we should use their slayer counterparts
Exception and stores for the verification after execute() finishes.| Constructor and Description |
|---|
AbstractProcessorSessionExecutionBody() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
doProcess() |
T |
execute()
you can override this method if you want to have a result
|
X |
getException()
Hook for a handled checked exception which should be captured (sic!) and rethrow after
SessionExecutionBody.execute() finishes. |
protected abstract SessionService |
getSessionService() |
protected void |
prepareSession() |
executeWithoutResultpublic AbstractProcessorSessionExecutionBody()
protected abstract SessionService getSessionService()
public final T execute()
SessionExecutionBodyexecute in class SessionExecutionBodyprotected void prepareSession()
public final X getException()
ProcessorSessionExecutionBodySessionExecutionBody.execute() finishes.getException in interface ProcessorSessionExecutionBodyCopyright © 2018 SAP SE. All Rights Reserved.