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

com.netflix.governator.annotations.binding.DataCenter Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.netflix.governator.annotations.binding;

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

import javax.inject.Qualifier;

/**
 * A generic binding annotation normally used to bind the DataCenter name. 
 * 
 * Internally at Netflix Datacenter is set to 'cloud' for amazon and 'dc' for a
 * traditional datacenter.  
 */
@Qualifier
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataCenter {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy