package org.jboss.resteasy.test.cdi.basic.resource;

import jakarta.ejb.Singleton;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.core.Application;
import java.util.HashSet;
import java.util.Set;

@Singleton
@ApplicationScoped
public class EJBApplication extends Application {
   @Override
   public Set<Class<?>> getClasses() {
      HashSet<Class<?>> classes = new HashSet<Class<?>>();
      classes.add(EJBBookReaderImpl.class);
      classes.add(EJBBookWriterImpl.class);
      classes.add(EJBBookResource.class);
      return classes;
   }
}
