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

com.github.dxee.dject.feature.DjectFeatures Maven / Gradle / Ivy

package com.github.dxee.dject.feature;

/**
 * Core Dject features.  Features are configured/enabled on {@link com.github.dxee.dject.Dject}
 */
public final class DjectFeatures {
    /**
     * When disable the Dject process will continue running even if there is a catastrophic
     * startup failure.  This allows the admin page to stay up so that the process may be 
     * debugged more easily. 
     */
    public static final DjectFeature SHUTDOWN_ON_ERROR =
            DjectFeature.create("dject.features.shutdownOnError", true);

    /**
     * Enables strict validation of @PostConstruct / @PreDestroy annotations at runtime; default is false
     */
    public static final DjectFeature STRICT_JSR250_VALIDATION =
            DjectFeature.create("dject.features.strictJsr250Validation", false);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy