public abstract class DelegateInvocation extends Object
DelegateInterceptor
Modifier and Type | Field and Description |
---|---|
protected BaseDelegateExecution |
contextExecution |
protected Object[] |
invocationParameters |
protected Object |
invocationResult |
Constructor and Description |
---|
DelegateInvocation() |
Modifier and Type | Method and Description |
---|---|
BaseDelegateExecution |
getContextExecution()
returns the execution in which context this delegate is invoked.
|
Object[] |
getInvocationParameters() |
Object |
getInvocationResult() |
abstract Object |
getTarget()
returns the target of the current invocation, ie.
|
protected abstract void |
invoke() |
void |
proceed()
make the invocation proceed, performing the actual invocation of the user
code.
|
protected Object invocationResult
protected Object[] invocationParameters
protected BaseDelegateExecution contextExecution
public void proceed() throws Exception
Exception
- the exception thrown by the user codepublic Object getInvocationResult()
public Object[] getInvocationParameters()
public abstract Object getTarget()
public BaseDelegateExecution getContextExecution()
Copyright © 2018. All rights reserved.