/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import entities.Metodo;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author ryuuji
 */
@Stateless
public class MetodoFacade extends AbstractFacade<Metodo> implements MetodoFacadeLocal {

  @PersistenceContext(unitName = "bank-ejbPU")
  private EntityManager em;

  @Override
  protected EntityManager getEntityManager() {
    return em;
  }

  public MetodoFacade() {
    super(Metodo.class);
  }
  
}
