|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.conflict.UwgmMessageAdapter
Simple adapter for UwgmExceptionHadler implementations used in Embedded mode converts UwgmMessages to MessageElements and back registers Messages, Elements and Exceptions in UwgmTransaction and Task Server Console
Field Summary | |
private static Log |
log
logging |
private RequestContext |
requestContext
|
private com.ptc.windchill.uwgm.soap.uwgm.UwgmRequestDispatcher |
uwgmDispatcher
|
Constructor Summary | |
UwgmMessageAdapter(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequestDispatcher uwgmDispatcher,
RequestContext requestContext)
Simple adapter for UwgmExceptionHadler implementations |
Method Summary | |
protected com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage[] |
convertElementsToMessages(MessageElement[] elements)
|
protected void |
processCause(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest,
Throwable throwable)
|
void |
processConflictException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest,
UwgmConflictException conflictException)
processConflictException |
void |
processErrorException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest,
UwgmErrorException errorException)
processErrorException |
void |
processInfoMessages(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
|
void |
processValidationException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest,
RequestValidationException validationException)
processValidationException |
protected void |
reportMessages(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest,
com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage[] messages)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private com.ptc.windchill.uwgm.soap.uwgm.UwgmRequestDispatcher uwgmDispatcher
private RequestContext requestContext
private static Log log
Constructor Detail |
public UwgmMessageAdapter(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequestDispatcher uwgmDispatcher, RequestContext requestContext)
uwgmDispatcher
- UwgmRequestDispatcherMethod Detail |
public void processErrorException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest, UwgmErrorException errorException)
processErrorException
in interface UwgmMessageHandler
uwgmRequest
- UwgmRequesterrorException
- UwgmErrorExceptionpublic void processConflictException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest, UwgmConflictException conflictException)
processConflictException
in interface UwgmMessageHandler
uwgmRequest
- UwgmRequestconflictException
- UwgmConflictExceptionpublic void processValidationException(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest, RequestValidationException validationException)
processValidationException
in interface UwgmMessageHandler
uwgmRequest
- UwgmRequestvalidationException
- RequestValidationExceptionpublic void processInfoMessages(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
processInfoMessages
in interface UwgmMessageHandler
protected com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage[] convertElementsToMessages(MessageElement[] elements)
elements
- MessageElement[]
protected void reportMessages(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest, com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage[] messages)
protected void processCause(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest, Throwable throwable)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |