title: How to retrieve the zookeeper node attached to current participant process with leaderSelector API
body: <p>I am using Curator and its LeaderSelector recipe to manage active/stand-by redunded processes.</p>
  <p>Each process is executed in its own JVM as a LeaderSelectorListenerAdapter client and is waiting to take the leadership.</p>
  <p>For both leader and non-leaders processes I need to get the zookeeper znode attached to each. Indeed, even the processes which are stand-by (meaning they do not took leadership) have to do some staff which requires to know their attached ephemeral sequential znode associated with their Zookeeper session.</p>
  <p>I cannot see a mean with the LeaderSelector API to retrieve the ephemeral sequential node attached to the current process session and which is created by the underlying InterProcessMutex.</p>
  <p>Am I missing something or there is no mean to do that?</p>
  <p>thank you for your help.</p>