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

📄 loomxfire.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
package org.codehaus.xfire.loom;import org.apache.avalon.framework.service.ServiceException;import org.apache.avalon.framework.service.ServiceManager;import org.apache.avalon.framework.service.Serviceable;import org.codehaus.xfire.DefaultXFire;import org.codehaus.xfire.service.ServiceRegistry;import org.codehaus.xfire.transport.TransportManager;/** * An instance of XFire that is managed by Loom / Phoenix. * * @author <a href="mailto:peter.royal@pobox.com">Peter Royal</a> */public class LoomXFire        extends DefaultXFire        implements Serviceable{    private ServiceRegistry m_serviceRegistry;    private TransportManager m_transportManager;    public LoomXFire()    {        super(null, null); // Use this to prevent component instantiation in the superclass default cxtor    }    public ServiceRegistry getServiceRegistry()    {        return m_serviceRegistry;    }    public TransportManager getTransportManager()    {        return m_transportManager;    }    public void service(final ServiceManager manager)            throws ServiceException    {        m_serviceRegistry = (ServiceRegistry) manager.lookup(ServiceRegistry.ROLE);        m_transportManager = (TransportManager) manager.lookup(TransportManager.ROLE);    }}

⌨️ 快捷键说明

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