Apache CXF API

org.apache.cxf.phase
Interface PhaseInterceptor<T extends Message>

All Superinterfaces:
Interceptor<T>
All Known Implementing Classes:
AbstractPhaseInterceptor

public interface PhaseInterceptor<T extends Message>
extends Interceptor<T>

A phase interceptor participates in a PhaseInterceptorChain.

 The before and after properties contain a list of Ids that the
 particular interceptor runs before or after.
 

Author:
Dan Diephouse
See Also:
PhaseInterceptorChain

Method Summary
 java.util.Set<java.lang.String> getAfter()
          Returns a set of IDs specifying the interceptors that should be run after this interceptor.
 java.util.Set<java.lang.String> getBefore()
          Returns a set of IDs specifying the interceptors that should be run before this interceptor.
 java.lang.String getId()
          The ID of this interceptor.
 java.lang.String getPhase()
          The phase of this interceptor.
 
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault, handleMessage
 

Method Detail

getAfter

java.util.Set<java.lang.String> getAfter()
Returns a set of IDs specifying the interceptors that should be run after this interceptor.

Returns:
the ids of the interceptors to be run after

getBefore

java.util.Set<java.lang.String> getBefore()
Returns a set of IDs specifying the interceptors that should be run before this interceptor.

Returns:
the ids of the interceptors to be run before

getId

java.lang.String getId()
The ID of this interceptor.

Returns:
the id

getPhase

java.lang.String getPhase()
The phase of this interceptor.

Returns:
the phase

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.