title: Invalidate specific jsf bean session
body: <p>How I invalidate a specific bean in a session?</p>
  
  <p>I have this example code.
  I test with ExternalContext.invalidateSession(); but it destroy all beans in the session in the application since it destroys the full session.</p>
  
  <pre><code>@Named
  @SessionScoped
  class Managed implements Serializable {
  
         public void invalidate (){
             // lines //
             externalContext.invalidateSession();   
         }
  
  }
  </code></pre>
  
  <p>but, with invalidateSession all beans in the session are destroyed, I want to invalidate only the one specific "Managed" bean, how I do that?</p>