servletmessagereceiver.java

来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 62 行

JAVA
62
字号
/* * $Id: ServletMessageReceiver.java 12420 2008-07-29 18:58:27Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.transport.servlet;import org.mule.api.MuleException;import org.mule.api.endpoint.InboundEndpoint;import org.mule.api.lifecycle.CreateException;import org.mule.api.service.Service;import org.mule.api.transport.Connector;import org.mule.transport.AbstractMessageReceiver;/** * <code>ServletMessageReceiver</code> is a receiver that is invoked from a Servlet * when an event is received. There is a one-to-one mapping between a * ServletMessageReceiver and a servlet in the serving webapp. */public class ServletMessageReceiver extends AbstractMessageReceiver{    public ServletMessageReceiver(Connector connector, Service service, InboundEndpoint endpoint)            throws CreateException    {        super(connector, service, endpoint);    }    protected void doDispose()    {        // template method    }    protected void doConnect() throws Exception    {        // nothing to do    }    protected void doDisconnect() throws Exception    {        // nothing to do    }    protected void doStart() throws MuleException    {        // nothing to do    }    protected void doStop() throws MuleException    {        // nothing to do    }}

⌨️ 快捷键说明

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