com.sun.enterprise.deployment.WebService.hasClientPublishUrl()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(169)

本文整理了Java中com.sun.enterprise.deployment.WebService.hasClientPublishUrl()方法的一些代码示例,展示了WebService.hasClientPublishUrl()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebService.hasClientPublishUrl()方法的具体详情如下:
包路径:com.sun.enterprise.deployment.WebService
类名称:WebService
方法名:hasClientPublishUrl

WebService.hasClientPublishUrl介绍

暂无

代码示例

代码示例来源:origin: org.glassfish.deployment/dol

public boolean hasFilePublishing() {
  return (hasClientPublishUrl() &&
      publishUrl.getProtocol().equals("file"));
}

代码示例来源:origin: org.glassfish.main.deployment/dol

public boolean hasFilePublishing() {
  return (hasClientPublishUrl() &&
      publishUrl.getProtocol().equals("file"));
}

代码示例来源:origin: org.glassfish.deployment/dol

/**
 * writes all the runtime information for the web services for a given
 * bundle descriptor
 * 
 * @param parent node to add the runtime xml info
 * @param the bundle descriptor
 */        
public void writeWebServiceRuntimeInfo(Node parent,
                    BundleDescriptor bundle) {
  WebServicesDescriptor webServices = bundle.getWebServices();
  if( webServices != null ) {
    for(Iterator iter = webServices.getWebServices().iterator(); 
      iter.hasNext();) {
      WebService next = (WebService) iter.next();
      if( next.hasClientPublishUrl() ) {
        writeDescriptor
          (parent, WebServicesTagNames.WEB_SERVICE, next);
      }
    }
  }
}

代码示例来源:origin: org.glassfish.main.deployment/dol

/**
 * writes all the runtime information for the web services for a given
 * bundle descriptor
 * 
 * @param parent node to add the runtime xml info
 * @param the bundle descriptor
 */        
public void writeWebServiceRuntimeInfo(Node parent,
                    BundleDescriptor bundle) {
  WebServicesDescriptor webServices = bundle.getWebServices();
  if( webServices != null ) {
    for(Iterator iter = webServices.getWebServices().iterator(); 
      iter.hasNext();) {
      WebService next = (WebService) iter.next();
      if( next.hasClientPublishUrl() ) {
        writeDescriptor
          (parent, WebServicesTagNames.WEB_SERVICE, next);
      }
    }
  }
}

代码示例来源:origin: org.glassfish.main.deployment/dol

/**
 * write the descriptor class to a DOM tree and return it
 *
 * @param parent node for the DOM tree
 * @param node name for the descriptor
 * @param the descriptor to write
 * @return the DOM tree top node
 */    
public Node writeDescriptor(Node parent, String nodeName, 
              WebService webService) {
  Node webServiceNode = 
    super.writeDescriptor(parent, nodeName, webService);
  appendTextChild(webServiceNode, 
          WebServicesTagNames.WEB_SERVICE_DESCRIPTION_NAME,
          webService.getName());
  if( webService.hasClientPublishUrl() ) {
    URL url = webService.getClientPublishUrl();
    appendTextChild(webServiceNode, 
            WebServicesTagNames.CLIENT_WSDL_PUBLISH_URL,
            url.toExternalForm());
  }
  return webServiceNode;
}

代码示例来源:origin: org.glassfish.deployment/dol

/**
 * write the descriptor class to a DOM tree and return it
 *
 * @param parent node for the DOM tree
 * @param node name for the descriptor
 * @param the descriptor to write
 * @return the DOM tree top node
 */    
public Node writeDescriptor(Node parent, String nodeName, 
              WebService webService) {
  Node webServiceNode = 
    super.writeDescriptor(parent, nodeName, webService);
  appendTextChild(webServiceNode, 
          WebServicesTagNames.WEB_SERVICE_DESCRIPTION_NAME,
          webService.getName());
  if( webService.hasClientPublishUrl() ) {
    URL url = webService.getClientPublishUrl();
    appendTextChild(webServiceNode, 
            WebServicesTagNames.CLIENT_WSDL_PUBLISH_URL,
            url.toExternalForm());
  }
  return webServiceNode;
}

相关文章