Annotation Interface AppendSpringConfiguration


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface AppendSpringConfiguration
Annotation, which indicates whether existing Spring context should be enriched with configuration defined in given XML resources. File can define new beans or redefine existing ones. Test class which is annotated by this type should extend ServicelayerBaseSpecification class, but most commonly ServicelayerTransactionalSpockSpecification class. Example usage:
     @AppendSpringConfiguration(["test-spring.xml"])
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns array of XML resource names, which should be added to Spring configuration
  • Element Details

    • value

      String[] value
      Returns array of XML resource names, which should be added to Spring configuration
      Returns:
      array of XML resource names, which should be added to Spring configuration