public abstract class ElementInterceptor extends java.lang.Object implements ExecutableElement
Based on Chain-Of-Responsibility (GOF CoR) pattern.
The purpose of this class is to provide an AOP-style approach for adding additional functionality.
DynamicContextDecorator| Modifier | Constructor and Description |
|---|---|
protected |
ElementInterceptor(ExecutableElement next) |
protected |
ElementInterceptor(ExecutableElement next,
DynamicContextDecorator ctxDecorator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeNext(DynamicContext ctx)
Executes next element in the chain.
|
protected DynamicContextDecorator |
getCtxDecorator() |
protected ExecutableElement |
getNext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteprotected ElementInterceptor(ExecutableElement next)
protected ElementInterceptor(ExecutableElement next, DynamicContextDecorator ctxDecorator)
protected DynamicContextDecorator getCtxDecorator()
protected ExecutableElement getNext()
protected void executeNext(DynamicContext ctx)
ctx - dynamic context.ExecutableElement.execute(DynamicContext)Copyright © Copyright 2006-2019 The Scriptella Project Team.