|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4corba.jbi.processor.MessageNormalizer
public class MessageNormalizer
Message normalizer class (convert Source to nmr message).
Constructor Summary | |
---|---|
MessageNormalizer()
Instantiates a new message normalizer. |
Method Summary | |
---|---|
Source |
normalize(Source xmlSource,
Jbi4CorbaEndpoint endpoint,
QName operation,
boolean toWrap,
boolean isOutput)
Normalize the message. |
void |
normalize(Source xmlSource,
javax.jbi.messaging.NormalizedMessage normalizedMsg,
Jbi4CorbaEndpoint endpoint,
QName operation,
boolean toWrap,
boolean isOutput)
Normalize the message. |
void |
normalizeFault(Source xmlSource,
javax.jbi.messaging.Fault fault,
Jbi4CorbaEndpoint endpoint,
QName operation,
String faultName,
boolean toWrap)
Normalize a fault message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageNormalizer() throws Jbi4CorbaException
Jbi4CorbaException
- if some error occurs in the normalizer creationMethod Detail |
---|
public void normalize(Source xmlSource, javax.jbi.messaging.NormalizedMessage normalizedMsg, Jbi4CorbaEndpoint endpoint, QName operation, boolean toWrap, boolean isOutput) throws Jbi4CorbaException
xmlSource
- the xmlSource to normalizenormalizedMsg
- the normlized messageendpoint
- the invoked endpointoperation
- the invoked operationtoWrap
- if the message must be wrappedisOutput
- true if the output is an output message
Jbi4CorbaException
- if some problem occurs in normalizationpublic Source normalize(Source xmlSource, Jbi4CorbaEndpoint endpoint, QName operation, boolean toWrap, boolean isOutput) throws Jbi4CorbaException
xmlSource
- the xmlSource to normalizeendpoint
- the invoked endpointoperation
- the invoked operationtoWrap
- if the message must be wrappedisOutput
- true if the message is an output message
Jbi4CorbaException
- if some problem occurs in normalizationpublic void normalizeFault(Source xmlSource, javax.jbi.messaging.Fault fault, Jbi4CorbaEndpoint endpoint, QName operation, String faultName, boolean toWrap) throws Jbi4CorbaException
xmlSource
- The xml fault sourcefault
- The Faultendpoint
- The jbi4ejb endpointoperation
- The operationfaultName
- The fault nametoWrap
- If the fault must be wrapped
Jbi4CorbaException
- If some problem occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |