public class ServiceInfo extends CustomTypeInfo
ServiceInfo
contains metadata of a Ballerina service entry in the program file.flags, name, nameCPIndex, packagePath, pkgPathCPIndex
Constructor and Description |
---|
ServiceInfo(int pkgPathCPIndex,
String packageName,
int nameCPIndex,
String serviceName,
int flags,
int endpointNameCPIndex,
String endpointName) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceInfo(String resourceName,
ResourceInfo resourceInfo) |
boolean |
equals(Object obj) |
AnnAttachmentInfo |
getAnnotationAttachmentInfo(String packageName,
String annotationName)
Deprecated.
|
String |
getEndpointName() |
int |
getEndpointNameCPIndex() |
FunctionInfo |
getInitFunctionInfo() |
ResourceInfo |
getResourceInfo(String resourceName) |
ResourceInfo[] |
getResourceInfoEntries() |
BServiceType |
getType() |
int |
hashCode() |
void |
setInitFunctionInfo(FunctionInfo initFuncInfo) |
void |
setType(BServiceType serviceType) |
addAttributeInfo, getAttributeInfo, getAttributeInfoEntries, getName, getNameCPIndex, getPackageInfo, getPackagePath, setPackageInfo
public int getEndpointNameCPIndex()
public String getEndpointName()
public ResourceInfo[] getResourceInfoEntries()
public void addResourceInfo(String resourceName, ResourceInfo resourceInfo)
public ResourceInfo getResourceInfo(String resourceName)
public FunctionInfo getInitFunctionInfo()
public void setInitFunctionInfo(FunctionInfo initFuncInfo)
public BServiceType getType()
public void setType(BServiceType serviceType)
@Deprecated public AnnAttachmentInfo getAnnotationAttachmentInfo(String packageName, String annotationName)
Copyright © 2018 WSO2. All rights reserved.