title: Assign a name to thread on request arrival
body: <p>I have a JEE7 webapp that uses jax-ws annotations to define some services, and uses spring framework.</p>
  
  <p>I want to assign a name of choice to the thread that serves a request when it arrives.</p>
  
  <p>I thought about putting Thread.currentThread().setName("") and this works fine if I put this row inside every @path annotated method, but it's a bit pointless to add the same code in every method. I am thinking to put it in a earlier stage.</p>
  
  <p>Is there some sort of "@onrequest" annotation to define some code common to all request?</p>
  
  <p>Thanks in advance.</p>