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

org.zodiac.autoconfigure.application.condition.ConditionalOnApplicationShutdownEnabled Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.application.condition;

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

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.zodiac.commons.constants.SystemPropertiesConstants;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@ConditionalOnClass(value = {org.zodiac.core.application.shutdown.AppShutdown.class})
@ConditionalOnProperty(name = SystemPropertiesConstants.Zodiac.SPRING_SHUTDOWN_ENABLED, havingValue = "true", matchIfMissing = true)
public @interface ConditionalOnApplicationShutdownEnabled {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy