All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ulisesbocchio.jasyptspringboot.annotation.EncryptablePropertySources Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package com.ulisesbocchio.jasyptspringboot.annotation;

import com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourcesInitializer;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Container annotation that aggregates several {@link EncryptablePropertySource} annotations.
 *
 * 

Can be used natively, declaring several nested {@link EncryptablePropertySource} annotations. * Can also be used in conjunction with Java 8's support for repeatable annotations, * where {@link EncryptablePropertySource} can simply be declared several times on the same * {@linkplain ElementType#TYPE type}, implicitly generating this container annotation. * * @author Ulises Bocchio * @see EncryptablePropertySource */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Import(EncryptablePropertySourcesInitializer.class) public @interface EncryptablePropertySources { EncryptablePropertySource[] value(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy