@ApplicationScoped public class Resources extends Object
Constructor and Description |
---|
Resources() |
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManager |
create() |
void |
dispose(javax.persistence.EntityManager entityManager) |
javax.faces.context.FacesContext |
produceFacesContext() |
@Produces @Default @RequestScoped public javax.persistence.EntityManager create()
public void dispose(@Disposes @Default javax.persistence.EntityManager entityManager)
@Produces @RequestScoped public javax.faces.context.FacesContext produceFacesContext()
Copyright © 2020 The Apache Software Foundation. All rights reserved.