1 /*
2 * Copyright (c) 2005 Brian Goetz and Tim Peierls
3 * Released under the Creative Commons Attribution License
4 * (http://creativecommons.org/licenses/by/2.5)
5 * Official home: http://www.jcip.net
6 *
7 * Any republication or derived work distributed in source code form
8 * must include this copyright and license notice.
9 */
10
11 package ch.elca.el4j.util.concurrency;
12
13 import java.lang.annotation.*;
14
15 /**
16 * The class to which this annotation is applied is not thread-safe.
17 * This annotation primarily exists for clarifying the non-thread-safety of a class
18 * that might otherwise be assumed to be thread-safe, despite the fact that it is a bad
19 * idea to assume a class is thread-safe without good reason.
20 *
21 * @svnLink $Revision: 3881 $;$Date: 2009-08-04 15:22:05 +0200 (Di, 04. Aug 2009) $;$Author: swismer $;$URL: https://el4j.svn.sourceforge.net/svnroot/el4j/branches/el4j_3_1/el4j/framework/modules/core/src/main/java/ch/elca/el4j/util/concurrency/NotThreadSafe.java $
22 *
23 * @see ThreadSafe
24 */
25 @Documented
26 @Target(ElementType.TYPE)
27 @Retention(RetentionPolicy.RUNTIME)
28 public @interface NotThreadSafe {
29 }