Skip to content

Commit

Permalink
Add message handlers to monitor performance (closes #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrancef committed Nov 15, 2015
1 parent 568c98d commit 22e2398
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 138 deletions.
19 changes: 19 additions & 0 deletions ws/src/middleware/MwHandler.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package middleware;

import javax.xml.ws.handler.soap.SOAPMessageContext;

import server.PerfHandler;

public class MwHandler extends PerfHandler {

public boolean handleMessage(SOAPMessageContext mc) {
// Don't continue if PerfHandler doesn't want to
if (!super.handleMessage(mc))
return false;

/* Any custom code for the MW here... */

return true;
}

}
Loading

0 comments on commit 22e2398

Please sign in to comment.