@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface SofaService
@SofaService(uniqueId = "aop")
public class SampleServiceImpl implements SampleService {
@Override
public String say() {
return "sampleService";
}
}
| Modifier and Type | Optional Element and Description |
|---|---|
SofaServiceBinding[] |
bindings
bindings of service
|
Class<?> |
interfaceType
The interface type of the SOFA service to be create.
|
String |
uniqueId
The unique id of the SOFA service to be created.
|
public abstract Class<?> interfaceType
public abstract String uniqueId
public abstract SofaServiceBinding[] bindings
Copyright © 2021. All rights reserved.