1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.api.annotations.expressions; |
8 | |
|
9 | |
import org.mule.api.annotations.meta.Evaluator; |
10 | |
|
11 | |
import java.lang.annotation.Documented; |
12 | |
import java.lang.annotation.ElementType; |
13 | |
import java.lang.annotation.Retention; |
14 | |
import java.lang.annotation.RetentionPolicy; |
15 | |
import java.lang.annotation.Target; |
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
@Target({ElementType.PARAMETER, ElementType.FIELD}) |
23 | |
@Retention(RetentionPolicy.RUNTIME) |
24 | |
@Documented |
25 | |
@Evaluator("registry") |
26 | |
public @interface Lookup |
27 | |
{ |
28 | |
String value() default ""; |
29 | |
|
30 | |
boolean optional() default false; |
31 | |
} |