@Retention(value=RUNTIME) @Target(value=FIELD) public @interface SofaReference
public class ReferenceAnnotationSample {
@SofaReference
private SampleService sampleService;
}
| 限定符和类型 | 可选元素和说明 |
|---|---|
Class<?> |
interfaceType
The type of the SOFA reference to be created.
|
String |
uniqueId
The unique id of the SOFA reference to be created.
|
public abstract Class<?> interfaceType
public abstract String uniqueId
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.