// Add an object to the conversation as a bean so that when the conversation is removed
// its valueUnbound method will be called. However we never need to retrieve this object
// from the context by name, so use a totally unique name as the bean key.
conversation.setAttribute(
runnable.getClass().getName() + "@" + System.identityHashCode(runnable),
new ConversationBindingListener()
{
public void valueBound(ConversationBindingEvent event)
{
}