public class MAdapterServiceInfo
extends java.lang.Object
MAdapterServiceInfo
class allows adapter writers to
specify a list of services. A service is composite of an endpoint and
one or more schema class(es). This class is used when the adapter is
used with TIBCO BusinessWorks and TIBCO Administrator.
These services are visible through the TIBCO Hawk Display. See Hawk standard method for more details.
Constructor and Description |
---|
MAdapterServiceInfo()
Creates an instance of
MAdapterServiceInfo . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEndpointName(java.lang.String p_serviceName)
Returns the name of the endpoint associated with the specified service name.
|
java.util.Enumeration |
getSchemas(java.lang.String p_serviceName)
Returns the list of schema names associated with this service name.
|
java.util.Enumeration |
getServicesNames()
Returns the list of service names in this adapter service.
|
void |
set(java.lang.String p_serviceName,
java.lang.String p_endpointName,
java.lang.String p_schema)
Sets a single schema service to this class.
|
void |
set(java.lang.String p_serviceName,
java.lang.String p_endpointName,
java.util.Vector p_schemaList)
Sets a multiple schema service to this class.
|
public MAdapterServiceInfo()
MAdapterServiceInfo
.public void set(java.lang.String p_serviceName, java.lang.String p_endpointName, java.lang.String p_schema)
p_serviceName
- name of service to setp_endpointName
- name of the endpoint associated with this servicep_schema
- name of the schema associated with this servicepublic void set(java.lang.String p_serviceName, java.lang.String p_endpointName, java.util.Vector p_schemaList)
p_serviceName
- name of service to setp_endpointName
- name of the endpoint associated with this servicep_schemaList
- list of schema names associated with this servicepublic java.lang.String getEndpointName(java.lang.String p_serviceName)
p_serviceName
- name of the service to lookuppublic java.util.Enumeration getSchemas(java.lang.String p_serviceName)
p_serviceName
- name of the service to lookuppublic java.util.Enumeration getServicesNames()