Author: sagara
Date: Tue May 10 14:54:56 2011
New Revision: 1101490
URL: http://svn.apache.org/viewvc?rev=1101490&view=rev
Log:
Applied fixed for AXIS2-4967
Modified:
axis/axis2/java/core/trunk/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
Modified:
axis/axis2/java/core/trunk/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportReceiver.java?rev=1101490&r1=1101489&r2=1101490&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
(original)
+++
axis/axis2/java/core/trunk/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
Tue May 10 14:54:56 2011
@@ -28,9 +28,11 @@ import org.apache.axis2.addressing.Endpo
import org.apache.axis2.builder.BuilderUtil;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.SessionContext;
import org.apache.axis2.description.TransportInDescription;
import org.apache.axis2.description.TransportOutDescription;
import org.apache.axis2.engine.AxisEngine;
+import org.apache.axis2.transport.TransportListener;
import org.apache.axis2.transport.http.HTTPConstants;
import org.apache.axis2.util.MessageContextBuilder;
import org.apache.commons.logging.Log;
@@ -41,8 +43,9 @@ import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
-public class LocalTransportReceiver {
+public class LocalTransportReceiver implements TransportListener {
protected static final Log log =
LogFactory.getLog(LocalTransportReceiver.class);
+
public static ConfigurationContext CONFIG_CONTEXT;
private ConfigurationContext confContext;
private MessageContext inMessageContext;
@@ -180,4 +183,28 @@ public class LocalTransportReceiver {
}
}
}
+
+ public void init(ConfigurationContext axisConf, TransportInDescription
transprtIn) throws AxisFault {
+ }
+
+ public void start() throws AxisFault {
+ }
+
+ public void stop() throws AxisFault {
+ }
+
+ public EndpointReference getEPRForService(String serviceName, String ip)
throws AxisFault {
+ return null;
+ }
+
+ public EndpointReference[] getEPRsForService(String serviceName, String
ip) throws AxisFault {
+ return new EndpointReference[0];
+ }
+
+ public SessionContext getSessionContext(MessageContext messageContext) {
+ return null;
+ }
+
+ public void destroy() {
+ }
}