it.imolinfo.jbi4corba.jbi.cxf
Class Jbi4CorbaConsumerExceptionInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
it.imolinfo.jbi4corba.jbi.cxf.Jbi4CorbaConsumerExceptionInterceptor
- 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 Jbi4CorbaConsumerExceptionInterceptor
- extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Intercaptor that converts the XML to Exceptions. Taken from the CXF
ClientFaultConverter class (fied some jaxb issue with our exceptions).
- Author:
- marco.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jbi4CorbaConsumerExceptionInterceptor
public Jbi4CorbaConsumerExceptionInterceptor()
Jbi4CorbaConsumerExceptionInterceptor
public Jbi4CorbaConsumerExceptionInterceptor(String phase)
handleMessage
public void handleMessage(org.apache.cxf.message.Message msg)
processFaultDetail
protected void processFaultDetail(org.apache.cxf.interceptor.Fault fault,
org.apache.cxf.message.Message msg)
unmarshallException
public static Object unmarshallException(javax.xml.bind.Unmarshaller u,
Object source,
org.apache.cxf.service.model.MessagePartInfo part)
- Unmarshall the exception (from XML to Java).
- Parameters:
u
- source
- part
-
- Returns:
unmarshallArray
public static List<Object> unmarshallArray(javax.xml.bind.Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
List<Object> ret)
throws Exception
- Throws:
Exception
getElementValue
public static Object getElementValue(Object obj)
Copyright © 2005-2010 Imola Informatica. All Rights Reserved.