⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servicefactory.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
package org.codehaus.xfire.service;import java.net.URL;import java.util.Map;import javax.wsdl.Definition;import javax.xml.namespace.QName;/** * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> */public interface ServiceFactory{    /**     * Create a service from the specified class.     *     * @param clazz The service class used to populate the operations and parameters.     * @return The service.     */    public Service create(Class clazz);    /**     * Create a service from the specified class.     *     * @param clazz The service class used to populate the operations and parameters.     * @param properties Properties to set on the service and use in construction.     * @return The service.     */    public Service create(Class clazz, Map properties);    /**     * Create a service from the specified class.     *      * @param clazz     *            The service class used to populate the operations and     *            parameters.     * @param name     *            The name of the service.     * @param namespace     *            The default namespace of the service.     * @param properties     *            Service specific properties which the ServiceFactory will use     *            to create the service.     * @return The service.     */    public Service create(Class clazz,                          String name,                          String namespace,                          Map properties);        /**     * Create a service from a WSDL file.     *     * @param clazz   The service class for the wsdl.     * @param wsdlUrl The WSDL URL.     * @return     * @throws Exception     */    public Service create(Class clazz, QName service, URL wsdlUrl, Map properties);        /**     * Create a service from a WSDL file.     *     * @param clazz   The service class for the wsdl.     * @param def     The WSDL definition.     * @return     * @throws Exception     */    public Service create(Class clazz, QName service, Definition def, Map properties);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -