public class ServiceImpl extends AnnotatableNode implements Service
ServiceImpl This is the implementation for the Service API.annotationMap| Modifier and Type | Method and Description |
|---|---|
void |
addResource(String name,
Resource resource) |
String |
getAnnotationEntryKey() |
List<Annotation> |
getAnnotationList(String pkgPath,
String name)
This method will return the list of annotations for the given package path and annotation name.
|
String |
getEndpointName()
This method returns the package qualified endpoint name that bound to the service.
|
String |
getName()
This method returns the service name.
|
String |
getPackage()
This method returns the package of the service.
|
String |
getPackageVersion()
This method returns the version of the package.
|
Resource[] |
getResources()
This method will return Resources associated with the service as a array.
|
ServiceInfo |
getServiceInfo() |
addAnnotationpublic String getName()
Servicepublic String getPackage()
ServicegetPackage in interface Servicepublic String getEndpointName()
ServicegetEndpointName in interface Servicepublic List<Annotation> getAnnotationList(String pkgPath, String name)
ServicegetAnnotationList in interface ServicepkgPath - of the annotation.name - of the annotation.public Resource[] getResources()
ServicegetResources in interface Servicepublic String getAnnotationEntryKey()
getAnnotationEntryKey in class AnnotatableNodepublic ServiceInfo getServiceInfo()
getServiceInfo in interface Servicepublic String getPackageVersion()
ServicegetPackageVersion in interface ServiceCopyright © 2018 WSO2. All rights reserved.