Package | Description |
---|---|
org.wso2.carbon.discovery | |
org.wso2.carbon.discovery.client | |
org.wso2.carbon.discovery.util | |
org.wso2.carbon.discovery.workers |
Modifier and Type | Method and Description |
---|---|
static Notification |
DiscoveryOMUtils.getByeFromOM(org.apache.axiom.om.OMElement byeElement) |
static Notification |
DiscoveryOMUtils.getHelloFromOM(org.apache.axiom.om.OMElement helloElement) |
static Probe |
DiscoveryOMUtils.getProbeFromOM(org.apache.axiom.om.OMElement probeElement) |
static QueryMatch |
DiscoveryOMUtils.getProbeMatchFromOM(org.apache.axiom.om.OMElement matchElement) |
static Resolve |
DiscoveryOMUtils.getResolveFromOM(org.apache.axiom.om.OMElement resolveElement) |
static QueryMatch |
DiscoveryOMUtils.getResolveMatchFromOM(org.apache.axiom.om.OMElement matchElement) |
static org.apache.axiom.om.OMElement |
DiscoveryOMUtils.toOM(Notification notification,
org.apache.axiom.om.OMFactory factory) |
static org.apache.axiom.om.OMElement |
DiscoveryOMUtils.toOM(QueryMatch match,
org.apache.axiom.om.OMFactory factory) |
static org.apache.axiom.om.OMElement |
DiscoveryOMUtils.toOM(Resolve resolve,
org.apache.axiom.om.OMFactory factory) |
static org.apache.axiom.om.OMElement |
DiscoveryOMUtils.toOM(TargetService service,
org.apache.axiom.om.OMFactory factory,
org.apache.axiom.om.OMElement parent)
Serializes the given TargetService instance into XML using the provided OMFactory.
|
Constructor and Description |
---|
CarbonDiscoveryService()
Initialize the Carbon Discovery Service.
|
Modifier and Type | Method and Description |
---|---|
void |
DiscoveryClient.cleanup()
Cleanup the service client
|
void |
DiscoveryClient.engageModule(String module)
Engage the named module on the Discovery client
|
TargetService[] |
DiscoveryClient.probe()
Send a generic probe request to the Discovery proxy.
|
TargetService[] |
DiscoveryClient.probe(QName[] types,
URI[] scopes)
Send a probe request with the specified types and scopes to the discovery proxy.
|
TargetService[] |
DiscoveryClient.probe(QName[] types,
URI[] scopes,
String matchBy)
Send a probe request with the specified types and scopes to the discovery proxy.
|
TargetService |
DiscoveryClient.resolve(String epr)
Send a WS-Discovery resolve request for the given service ID
|
Constructor and Description |
---|
DiscoveryClient(org.apache.axis2.context.ConfigurationContext cfgCtx,
String proxyURL) |
Modifier and Type | Method and Description |
---|---|
static void |
DiscoveryMgtUtils.addDiscoveryProxy(DiscoveryProxyDetails pd,
org.wso2.carbon.registry.api.Registry registry)
Add a new WS-Discovery proxy configuration.
|
static boolean |
DiscoveryMgtUtils.discoveryProxyExists(String name,
org.wso2.carbon.registry.api.Registry registry)
Check whether the named WS-D proxy configuration exists in the registry
|
static DiscoveryProxyDetails[] |
DiscoveryMgtUtils.getDiscoveryProxies(org.wso2.carbon.registry.api.Registry registry)
Returns all existing WS-D proxy configurations
|
static DiscoveryProxyDetails |
DiscoveryMgtUtils.getDiscoveryProxy(String name,
org.wso2.carbon.registry.api.Registry registry)
Get the named WS-D proxy configuration
|
static String |
DiscoveryMgtUtils.getExistingServiceIdOrUpdate(String name,
String uniqueId,
org.wso2.carbon.registry.api.Registry registry)
Get the previously assigned unique ID of the given service.
|
static TargetService[] |
DiscoveryMgtUtils.probeDiscoveryProxy(String name,
ProbeDetails pd,
org.wso2.carbon.registry.api.Registry registry)
Probe the specified WS-D proxy to obtain target service details
|
static void |
DiscoveryMgtUtils.removeDiscoveryProxy(String name,
org.wso2.carbon.registry.api.Registry registry)
Remove the named WS-D proxy configuration from the registry
|
static TargetService |
DiscoveryMgtUtils.resolveService(String name,
String id,
org.wso2.carbon.registry.api.Registry registry)
Resolve the specified service ID against the given proxy
|
Modifier and Type | Method and Description |
---|---|
void |
MessageSender.sendBye(org.apache.axis2.description.AxisService service,
String discoveryProxyEPR) |
void |
MessageSender.sendHello(org.apache.axis2.description.AxisService service,
String discoveryProxyEPR) |
Copyright © 2023 WSO2. All rights reserved.