view src/main/java/de/intevation/lada/lock/LockConfig.java @ 593:ec13e741ec71

Added interface, annotation and enum for Lock mechanism.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 25 Mar 2015 16:17:41 +0100
parents
children 9a6d8c174e78
line wrap: on
line source
package de.intevation.lada.lock;

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

import javax.inject.Qualifier;

@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({
    ElementType.TYPE,
    ElementType.FIELD,
    ElementType.METHOD,
    ElementType.PARAMETER})
public @interface LockConfig {
    LockType type() default LockType.NONE;
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)