public abstract class DelegateInvocation extends Object
DelegateInterceptor
Modifier and Type | Field and Description |
---|---|
protected BaseDelegateExecution |
contextExecution |
protected ResourceDefinitionEntity |
contextResource |
protected Object |
invocationResult |
Constructor and Description |
---|
DelegateInvocation(BaseDelegateExecution contextExecution,
ResourceDefinitionEntity contextResource)
Provide a context execution or resource definition in which context the invocation
should be performed.
|
Modifier and Type | Method and Description |
---|---|
BaseDelegateExecution |
getContextExecution()
returns the execution in which context this delegate is invoked.
|
ResourceDefinitionEntity |
getContextResource() |
Object |
getInvocationResult() |
protected abstract void |
invoke() |
void |
proceed()
make the invocation proceed, performing the actual invocation of the user
code.
|
protected Object invocationResult
protected BaseDelegateExecution contextExecution
protected ResourceDefinitionEntity contextResource
public DelegateInvocation(BaseDelegateExecution contextExecution, ResourceDefinitionEntity contextResource)
contextExecution
- set to an executionpublic void proceed() throws Exception
Exception
- the exception thrown by the user codepublic Object getInvocationResult()
public BaseDelegateExecution getContextExecution()
public ResourceDefinitionEntity getContextResource()
Copyright © 2019. All rights reserved.