@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,PARAMETER}) public @interface SofaReference
public class ReferenceAnnotationSample {
@SofaReference
private SampleService sampleService;
}
| Modifier and Type | Optional Element and Description |
|---|---|
SofaReferenceBinding |
binding
binding of reference
|
Class<?> |
interfaceType
The type of the SOFA reference to be created.
|
boolean |
jvmFirst
invoke jvm service first
|
String |
uniqueId
The unique id of the SOFA reference to be created.
|
public abstract Class<?> interfaceType
public abstract String uniqueId
public abstract boolean jvmFirst
public abstract SofaReferenceBinding binding
Copyright © 2021. All rights reserved.