org.kie.workbench.backend
Class RequestScopedProducer
java.lang.Object
org.kie.workbench.backend.RequestScopedProducer
@RequestScoped
public class RequestScopedProducer
- extends Object
This class should contain all RequestScoped producers
required by the application.
|
Method Summary |
void |
close(javax.persistence.EntityManager em)
|
javax.persistence.EntityManager |
getEntityManager()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestScopedProducer
public RequestScopedProducer()
getEntityManager
@Produces
@RequestScoped
public javax.persistence.EntityManager getEntityManager()
close
public void close(@Disposes
javax.persistence.EntityManager em)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.