Semi static field in Java application
<p>I have written a web-service application that has in a main class generated random value per request (for logging).</p>

<p>I cannot set it as a static field because next request will override it.</p>

<p>I also cannot pass it to the every class that I use in the main one (as an argument or with setter).</p>

<p>Is it possible to create some semi-static field - visible for one request but not for every other that go to the web-service ?</p>
