public interface Resource
Resource
This API provides the functionality to access Resource level details in the
respective server connector.Modifier and Type | Method and Description |
---|---|
List<Annotation> |
getAnnotationList(String pkgPath,
String name)
This method will return annotation for the given package path and annotation name.
|
String |
getName()
This method returns the resource name.
|
List<ParamDetail> |
getParamDetails()
This method will return parameter list of the resource.
|
ResourceInfo |
getResourceInfo() |
String |
getServiceName()
This method returns the corresponding service name.
|
String getName()
String getServiceName()
List<Annotation> getAnnotationList(String pkgPath, String name)
pkgPath
- of the annotation.name
- of the annotation.List<ParamDetail> getParamDetails()
ResourceInfo getResourceInfo()
Copyright © 2018 WSO2. All rights reserved.