title: How get managed bean name from inside the backing bean?
body: <p>I'm using JSF 1.1. I have the following in my <code>faces-config.xml</code> file:</p>
  
  <pre><code>&lt;managed-bean&gt;
      &lt;managed-bean-name&gt;beanInstance1&lt;/managed-bean-name&gt;
      &lt;managed-bean-class&gt;com.paquete.BeanMyBean&lt;/managed-bean-class&gt;
      &lt;managed-bean-scope&gt;request&lt;/managed-bean-scope&gt;
  &lt;/managed-bean&gt;
  </code></pre>
  
  <p>I want get the managed bean name <code>beanInstance1</code> inside my bean. This is my bean:</p>
  
  <pre><code>package com.paquete;
  
  public class BeanMyBean {
     String atribute1;
  
     public BeanMyBean () {
         System.out.println("managed-bean-class="+this.getClass().getName());
         System.out.println("managed-bean-name="+????????????????????????);
         // How Can I get the "beanInstance1" literal from here??
     }
  
     // setters and getters
  }
  </code></pre>
  
  <p>I know how get the <code>com.paquete.BeanMyBean</code> literal (<code>this.getClass().getName()</code>) and the <code>BeanMyBean</code> (<code>this.getClass().getSimpleName()</code>), but I don't know how get a Managed Name (instance of Bean). </p>
  
  <p>How can I get the <code>beanInstance1</code> value?</p>