|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.webservices.handler.log.LogHandler
Class that implements a handler in the handler chain, used to access the SOAP request and response message.
The class implements the javax.xml.rpc.handler.Handler interface.
The class simply prints the SOAP request and response messages to a log file
before the messages are processed by the backend component.
| Constructor Summary | |
LogHandler()
|
|
| Method Summary | |
void |
destroy()
Destroys the Handler instance. |
javax.xml.namespace.QName[] |
getHeaders()
|
boolean |
handleFault(javax.xml.rpc.handler.MessageContext mc)
Specifies that a message be logged to the log file if a SOAP fault is thrown by the Handler instance. |
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext mc)
Specifies that the SOAP request message be logged to a log file before the message is sent to the Java class backend component |
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext mc)
Specifies that the SOAP response message be logged to a log file before the message is sent back to the client application that invoked the Web service. |
void |
init(javax.xml.rpc.handler.HandlerInfo hi)
Initializes the instance of the handler. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public LogHandler()
| Method Detail |
public void destroy()
destroy in interface javax.xml.rpc.handler.Handlerpublic javax.xml.namespace.QName[] getHeaders()
getHeaders in interface javax.xml.rpc.handler.Handlerpublic boolean handleFault(javax.xml.rpc.handler.MessageContext mc)
handleFault in interface javax.xml.rpc.handler.Handlerpublic boolean handleRequest(javax.xml.rpc.handler.MessageContext mc)
handleRequest in interface javax.xml.rpc.handler.Handlerpublic boolean handleResponse(javax.xml.rpc.handler.MessageContext mc)
handleResponse in interface javax.xml.rpc.handler.Handlerpublic void init(javax.xml.rpc.handler.HandlerInfo hi)
init in interface javax.xml.rpc.handler.Handler
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||