org.kuali.rice.ksb.impl.cxf.interceptors
Class ImmutableCollectionsInInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.kuali.rice.ksb.impl.cxf.interceptors.ImmutableCollectionsInInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

public class ImmutableCollectionsInInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>

A CXF Interceptor that binds itself to the USER_LOGICAL phase to be used on inbound messages. This interceptor is invoked in the interceptor chain after unmarshalling from XML to Java has occurred. The role of this interceptor is to ensure that any Collection (and specifically List, Set, or Map) used in a @WebMethod is ultimately of the expected immutable type returned from the local service.


Constructor Summary
ImmutableCollectionsInInterceptor()
          Instantiates an ImmutableCollectionsInInterceptor and adds it to the USER_LOGICAL phase.
 
Method Summary
 void handleMessage(org.apache.cxf.message.Message message)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableCollectionsInInterceptor

public ImmutableCollectionsInInterceptor()
Instantiates an ImmutableCollectionsInInterceptor and adds it to the USER_LOGICAL phase.

Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)
                   throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.