org.jacorb.orb.portableInterceptor
Class ServerInterceptorIterator

java.lang.Object
  extended byorg.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
      extended byorg.jacorb.orb.portableInterceptor.RequestInterceptorIterator
          extended byorg.jacorb.orb.portableInterceptor.ServerInterceptorIterator

public class ServerInterceptorIterator
extends RequestInterceptorIterator

This class iterates over an array of ServerRequestInterceptors.

Version:
$Id: ServerInterceptorIterator.java,v 1.8 2003/12/16 08:42:56 gerald Exp $
Author:
Nicolas Noffke

Field Summary
static short RECEIVE_REQUEST
           
static short RECEIVE_REQUEST_SERVICE_CONTEXTS
           
static short SEND_EXCEPTION
           
static short SEND_OTHER
           
static short SEND_REPLY
           
 
Fields inherited from class org.jacorb.orb.portableInterceptor.RequestInterceptorIterator
interceptor_ex, op
 
Fields inherited from class org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
increment, index, interceptors
 
Constructor Summary
ServerInterceptorIterator(Interceptor[] interceptors)
           
 
Method Summary
protected  void invoke(Interceptor interceptor)
           
 void iterate(ServerRequestInfoImpl info, short op)
          Iterates over the enumeration, i.e. calls "op" on nextElement() until !
 
Methods inherited from class org.jacorb.orb.portableInterceptor.RequestInterceptorIterator
reverseDirection, setDirection
 
Methods inherited from class org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
hasMoreElements, iterate, nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECEIVE_REQUEST_SERVICE_CONTEXTS

public static final short RECEIVE_REQUEST_SERVICE_CONTEXTS
See Also:
Constant Field Values

RECEIVE_REQUEST

public static final short RECEIVE_REQUEST
See Also:
Constant Field Values

SEND_REPLY

public static final short SEND_REPLY
See Also:
Constant Field Values

SEND_EXCEPTION

public static final short SEND_EXCEPTION
See Also:
Constant Field Values

SEND_OTHER

public static final short SEND_OTHER
See Also:
Constant Field Values
Constructor Detail

ServerInterceptorIterator

public ServerInterceptorIterator(Interceptor[] interceptors)
Method Detail

iterate

public void iterate(ServerRequestInfoImpl info,
                    short op)
             throws UserException
Iterates over the enumeration, i.e. calls "op" on nextElement() until !hasMoreElements().

Throws:
UserException

invoke

protected void invoke(Interceptor interceptor)
               throws UserException
Specified by:
invoke in class AbstractInterceptorIterator
Throws:
UserException