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() |
addAnnotation
public String getName()
Service
public String getPackage()
Service
getPackage
in interface Service
public String getEndpointName()
Service
getEndpointName
in interface Service
public List<Annotation> getAnnotationList(String pkgPath, String name)
Service
getAnnotationList
in interface Service
pkgPath
- of the annotation.name
- of the annotation.public Resource[] getResources()
Service
getResources
in interface Service
public String getAnnotationEntryKey()
getAnnotationEntryKey
in class AnnotatableNode
public ServiceInfo getServiceInfo()
getServiceInfo
in interface Service
public String getPackageVersion()
Service
getPackageVersion
in interface Service
Copyright © 2018 WSO2. All rights reserved.