|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={CONSTRUCTOR,METHOD,TYPE}) public static @interface OnlyThreadWithName.InField.ByName
An annotation used to designate methods that are only allowed to be run by a thread whose name is equal to the string in the field specified by class name and field name.
Required Element Summary | |
---|---|
java.lang.String |
fieldClassName
The name of the class that contains the field specifying the name of threads allowed to run. |
java.lang.String |
fieldName
The name of the field specifying the name of threads allowed to run. |
Element Detail |
---|
public abstract java.lang.String fieldClassName
public abstract java.lang.String fieldName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |