NameLabel">Disposes</span></pre>
<div class="block"><p>
 Identifies the disposed parameter of a disposer method. May be applied to a parameter of a method of a bean class.
 </p>
 
 <pre>
 public class UserDatabaseEntityManager {
 
     &#064;Produces
     &#064;ConversationScoped
     &#064;UserDatabase
     public EntityManager create(EntityManagerFactory emf) {
         return emf.createEntityManager();
     }
 
     public void close(@Disposes @UserDatabase EntityManager em) {
         em.close();
     }