Annotation Type DataAccess


@Retention(RUNTIME)
@Target(TYPE)
@Component
public @interface DataAccess
Indicates that the annotated class is a data access object. This annotation serves as a specialization of the Spring framework's @Component annotation Requires the value attribute when annotating, e.g. @DataAccess("ZBKS.BookDataAccess"). The value attribute is used as the bean id when managed by the Spring container
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String value  
  • Element Details

    • value

      java.lang.String value