public abstract class DelegateInvocation extends Object
DelegateInterceptor
Modifier and Type | Field and Description |
---|---|
protected InterpretableExecution |
contextExecution |
protected Object[] |
invocationParameters |
protected Object |
invocationResult |
Constructor and Description |
---|
DelegateInvocation() |
Modifier and Type | Method and Description |
---|---|
InterpretableExecution |
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 InterpretableExecution contextExecution
public void proceed() throws Exception
Exception
- the exception thrown by the user codepublic Object getInvocationResult()
public Object[] getInvocationParameters()
public abstract Object getTarget()
public InterpretableExecution getContextExecution()
Copyright © 2015. All rights reserved.