Codota Logo
EndpointReferenceUtils.portNameMatches
Code IndexAdd Codota to your IDE (free)

How to use
portNameMatches
method
in
org.apache.cxf.wsdl.EndpointReferenceUtils

Best Java code snippets using org.apache.cxf.wsdl.EndpointReferenceUtils.portNameMatches (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.apache.cxf/cxf-api

private static MultiplexDestination getMatchingMultiplexDestination(QName serviceQName, String portName,
                                  Bus bus) {
  MultiplexDestination destination = null;
  ServerRegistry serverRegistry = bus.getExtension(ServerRegistry.class);
  if (null != serverRegistry) {
    List<Server> servers = serverRegistry.getServers();
    for (Server s : servers) {
      QName targetServiceQName = s.getEndpoint().getEndpointInfo().getService().getName();
      if (serviceQName.equals(targetServiceQName) && portNameMatches(s, portName)) {
        Destination dest = s.getDestination();
        if (dest instanceof MultiplexDestination) {
          destination = (MultiplexDestination)dest;
          break;
        }
      }
    }
  } else {
    LOG.log(Level.WARNING,
        "Failed to locate service matching " + serviceQName 
        + ", because the bus ServerRegistry extension provider is null");
  }
  return destination;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

private static MultiplexDestination getMatchingMultiplexDestination(QName serviceQName, String portName,
                                  Bus bus) {
  MultiplexDestination destination = null;
  ServerRegistry serverRegistry = bus.getExtension(ServerRegistry.class);
  if (null != serverRegistry) {
    List<Server> servers = serverRegistry.getServers();
    for (Server s : servers) {
      QName targetServiceQName = s.getEndpoint().getEndpointInfo().getService().getName();
      if (serviceQName.equals(targetServiceQName) && portNameMatches(s, portName)) {
        Destination dest = s.getDestination();
        if (dest instanceof MultiplexDestination) {
          destination = (MultiplexDestination)dest;
          break;
        }
      }
    }
  } else {
    LOG.log(Level.WARNING,
        "Failed to locate service matching " + serviceQName 
        + ", because the bus ServerRegistry extension provider is null");
  }
  return destination;
}
org.apache.cxf.wsdlEndpointReferenceUtilsportNameMatches

Popular methods of EndpointReferenceUtils

  • getAnonymousEndpointReference
    Create an anonymous endpoint reference.
  • getServiceName
    Gets the service name of the provided endpoint reference.
  • getPortName
    Gets the port name of the provided endpoint reference.
  • getSchema
  • setServiceAndPortName
    Sets the service and port name of the provided endpoint reference.
  • createContextForEPR
  • createSchema
  • duplicate
    Create a duplicate endpoint reference sharing all atributes
  • findNamespaceHack
  • getAddress
    Get the address from the provided endpoint reference.
  • getJAXBContextForEPR
  • getMatchingMultiplexDestination
  • getJAXBContextForEPR,
  • getMatchingMultiplexDestination,
  • getNameSpaceUri,
  • getService,
  • getServiceNameType,
  • getWSDLDefinition,
  • getWSDLLocation,
  • mint,
  • setWSDLLocation

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ImageIO (javax.imageio)
  • Reference (javax.naming)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now