package de.ivu.elect.business.wahl.boundary;

import de.ivu.elect.business.wahl.control.WahlCustomDataFactory;
import de.ivu.elect.jee.entity.customdata.DefaultCustomData;

import javax.enterprise.inject.Specializes;
import javax.inject.Inject;

@Specializes
public class CoreWahlFactory extends WahlFactory {

  private static final long serialVersionUID = 1L;

  @Inject
  private transient WahlCustomDataFactory wahlCustomDataFactory;

  @Override
  public DefaultCustomData createCustomData() {
    return wahlCustomDataFactory.createCustomData();
  }
}
