title: Use spring beans from Serializable objects
body: <p>I need to execute task on remote machine.<br>
  This task is dummy Runnable or Callable and Serializable to be transferred to remote host, deserialized and executed there.<br>
  I need to use spring beans from that task to execute it on remote machine.  </p>
  
  <p>What could be the elegant way to 'serialize' bean name when task is serialized on client machine and 'deserialize' real bean while deserialization on remote machine?<br>
  Any other solutions?  </p>