com.github.adminfaces.persistence.bean.BeanService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of admin-persistence Show documentation
Show all versions of admin-persistence Show documentation
Provides CRUD utilities for CDI, JPA and JSF based applications.
package com.github.adminfaces.persistence.bean;
import com.github.adminfaces.persistence.service.CrudService;
import javax.enterprise.util.Nonbinding;
import javax.inject.Qualifier;
import java.lang.annotation.*;
/**
* Annotation used for providing crud services to a CrudMB:
*
{@literal @}ViewScoped
{@literal @}Named
{@literal @}BeanService(CarService.class)
public class CarMB<Entity>{}
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface BeanService {
@Nonbinding
Class extends CrudService> value();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy