summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/tags/java-stable-20060304/sca/core/src/main/java/org/apache/tuscany/core/system/annotation/Autowire.java
blob: bcb06812e8f411cca7c8d89f58deb9371082429d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.apache.tuscany.core.system.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

/**
 * A system annotation to inject an autowired instance
 * 
 * @version $Rev$ $Date$
 */
@Target( { METHOD, FIELD })
@Retention(RUNTIME)
public @interface Autowire {
    
    public boolean required() default true;

}