org.jppf.server.protocol
Annotation Type JPPFRunnable


@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
public @interface JPPFRunnable

Annotation to determine which method in a class is the task's main method.

Author:
Laurent Cohen

Optional Element Summary
 int value
          Specifies the execution order, in the case where multiple methods are annotated in the same class.
 

value

public abstract int value
Specifies the execution order, in the case where multiple methods are annotated in the same class.
When specified orders are the same, the ordering is the same as the one used in Class.getDeclaredMethods()

Default:
0


Copyright © 2005-2010 JPPF Team.