org.apache.axis2.transport.http
Class CustomListener
java.lang.Object
org.apache.axis2.transport.http.CustomListener
- All Implemented Interfaces:
- TransportListener
public class CustomListener
- extends java.lang.Object
- implements TransportListener
This class is used just to add additional transports at runtime if user sends a request using
alternate schemes, example to handle http/https separately
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomListener
public CustomListener(int port,
java.lang.String schema)
init
public void init(ConfigurationContext axisConf,
TransportInDescription transprtIn)
throws AxisFault
- Specified by:
init in interface TransportListener
- Throws:
AxisFault
start
public void start()
throws AxisFault
- Specified by:
start in interface TransportListener
- Throws:
AxisFault
stop
public void stop()
throws AxisFault
- Specified by:
stop in interface TransportListener
- Throws:
AxisFault
getEPRsForService
public EndpointReference[] getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
- Specified by:
getEPRsForService in interface TransportListener
- Throws:
AxisFault
getEPRForService
public EndpointReference getEPRForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
- Specified by:
getEPRForService in interface TransportListener
- Throws:
AxisFault
getSessionContext
public SessionContext getSessionContext(MessageContext messageContext)
- Specified by:
getSessionContext in interface TransportListener
destroy
public void destroy()
- Specified by:
destroy in interface TransportListener
Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.