Package org.springframework.core.annotation

Examples of org.springframework.core.annotation.AnnotationAttributes.containsKey()


        annotationType.getName(), false));
    Assert.notNull(attributes, String.format("@%s is not present on importing class '%s' as expected",
        annotationType.getSimpleName(), importingClassMetadata.getClassName()));

    String[] imports;
    if (attributes.containsKey("modular") && attributes.getBoolean("modular")) {
      imports = new String[] { ModularBatchConfiguration.class.getName() };
    }
    else {
      imports = new String[] { SimpleBatchConfiguration.class.getName() };
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.