|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openliberty.wsc.WSCUtilities
public class WSCUtilities
This class contains a collection of convenience methods designed to make common WSC operations easier. It consists entirely of static methods and is never meant to be instantiated.
| Constructor Summary | |
|---|---|
WSCUtilities()
|
|
| Method Summary | |
|---|---|
static EndpointReference |
boostrapDiscoveryEPRFromDefaultAS(AuthenticationService.AuthMechanism authMechanism)
Attempts to retrieve a Discovery Service Endpoint Reference from the default Authentication Service. |
static BaseServiceClient |
clientForDiscoveryEPR(EndpointReference discoEPR,
DiscoveryService.WSFServiceType serviceType)
This method takes a discovery EndpointReference and a WSFServiceType and returns an instantiated service client. |
static java.util.List<EndpointReference> |
queryDiscoveryServiceForServiceEPRs(DiscoveryService discoService,
java.lang.String[] serviceTypes,
java.lang.String[] providerIDs,
java.lang.String[] securityMechIDs)
Retrieves a list of EndpointReference objects from the specified
Discovery Service using the supplied parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSCUtilities()
| Method Detail |
|---|
public static BaseServiceClient clientForDiscoveryEPR(EndpointReference discoEPR,
DiscoveryService.WSFServiceType serviceType)
throws WSCException
The process is:
discoEPR - the endpoint reference for the discovery service that will be used to discover the specified serviceserviceType - an enumerated reference to a WSF service that the client library supports
WSCException
public static EndpointReference boostrapDiscoveryEPRFromDefaultAS(AuthenticationService.AuthMechanism authMechanism)
throws WSCException
This convenience method assumes that there are values set in OpenLibertyBootstrap for authenticationServiceUrl, authUsername, and authPassword.
authMechanism -
WSCException
java.lang.NullPointerException - if authMechanism is null
public static java.util.List<EndpointReference> queryDiscoveryServiceForServiceEPRs(DiscoveryService discoService,
java.lang.String[] serviceTypes,
java.lang.String[] providerIDs,
java.lang.String[] securityMechIDs)
EndpointReference objects from the specified
Discovery Service using the supplied parameters.
discoService - serviceTypes - providerIDs - securityMechIDs -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||