za.org.coefficient.core
Class CoefficientInterceptor

java.lang.Object
  extended by za.org.coefficient.core.CoefficientInterceptor
Direct Known Subclasses:
ConfigurationInterceptor, ExceptionInterceptor, ExecuteModuleInterceptor, PermanentModuleInterceptor, PersistentLoginInterceptor, ProjectSetupInterceptor, WorkflowSetupInterceptor

public abstract class CoefficientInterceptor
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2004/09/28 15:17:03 $
Author:
Dylan Etkin

Field Summary
static java.lang.String ABORT_INTERCEPTOR_PREFIX
          The constant that represents the prefix for aborted interceptors
static int INVOKE_ABORT_GLOBAL
          Stop processing at this point - an error occurred
static int INVOKE_ABORT_LOCAL
          Don't process this interceptor any further
static int INVOKE_PROCESS_CHILD
          Continue processing the chain
static int INVOKE_PROCESS_DONE
          Stop processing at this point, but not in error
static int INVOKE_SKIP_NEXT
          Skip your sibling but run its sibling
private  CoefficientInterceptor sibling
          The sibling of this interceptor
 
Constructor Summary
CoefficientInterceptor()
           
 
Method Summary
protected  int abortNamedInterceptor(CoefficientContext ctx)
           
 void append(CoefficientInterceptor val)
           
 CoefficientInterceptor getSibling()
           
protected  int handleInvoke(CoefficientContext ctx)
           
protected  int handlePostInvoke(CoefficientContext ctx)
           
 int invoke(CoefficientContext ctx)
           
 CoefficientInterceptor last()
           
 void setSibling(CoefficientInterceptor val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVOKE_PROCESS_CHILD

public static final int INVOKE_PROCESS_CHILD
Continue processing the chain

See Also:
Constant Field Values

INVOKE_PROCESS_DONE

public static final int INVOKE_PROCESS_DONE
Stop processing at this point, but not in error

See Also:
Constant Field Values

INVOKE_ABORT_LOCAL

public static final int INVOKE_ABORT_LOCAL
Don't process this interceptor any further

See Also:
Constant Field Values

INVOKE_ABORT_GLOBAL

public static final int INVOKE_ABORT_GLOBAL
Stop processing at this point - an error occurred

See Also:
Constant Field Values

INVOKE_SKIP_NEXT

public static final int INVOKE_SKIP_NEXT
Skip your sibling but run its sibling

See Also:
Constant Field Values

ABORT_INTERCEPTOR_PREFIX

public static final java.lang.String ABORT_INTERCEPTOR_PREFIX
The constant that represents the prefix for aborted interceptors

See Also:
Constant Field Values

sibling

private CoefficientInterceptor sibling
The sibling of this interceptor

Constructor Detail

CoefficientInterceptor

public CoefficientInterceptor()
Method Detail

setSibling

public void setSibling(CoefficientInterceptor val)

getSibling

public CoefficientInterceptor getSibling()

append

public void append(CoefficientInterceptor val)

invoke

public int invoke(CoefficientContext ctx)
           throws java.lang.Exception
Throws:
java.lang.Exception

last

public CoefficientInterceptor last()

abortNamedInterceptor

protected int abortNamedInterceptor(CoefficientContext ctx)

handleInvoke

protected int handleInvoke(CoefficientContext ctx)
                    throws java.lang.Exception
Throws:
java.lang.Exception

handlePostInvoke

protected int handlePostInvoke(CoefficientContext ctx)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright CSIR. All Rights Reserved.