List of usage examples for javax.xml.ws.handler Handler close
public void close(MessageContext context);
From source file:org.apache.axis2.jaxws.handler.HandlerChainProcessor.java
private void callCloseWithTracker(Handler handler) { currentHandler = handler;/*from w w w . j a va 2 s . c o m*/ currentMethod = "close"; // turn on the tracker property currentMC.put(org.apache.axis2.jaxws.handler.Constants.JAXWS_HANDLER_TRACKER, true); RuntimeException savedEx = null; try { handler.close(currentMC); } catch (RuntimeException t) { savedEx = t; } // turn off the tracker property and reset the static tracker booleans currentMC.put(org.apache.axis2.jaxws.handler.Constants.JAXWS_HANDLER_TRACKER, false); saaj_called = false; soap_headers_adapter_called = false; if (savedEx != null) { throw savedEx; } }