axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eran Chinthaka <>
Subject [Axis2] Enabling listener to handle more than one EPR
Date Tue, 12 Sep 2006 08:06:00 GMT

Current transport listener interface enables a listener to return only
one EPR per listener. But some listeners can handle more than one EPRs.
One of the examples is that the same servlet can be used to handle both
SOAP and REST messages, but can have different endpoints.

So this is a proposal to add a method to transport listener interface
which can return an array of EPRs.

public EndpointReference[] getEPRsForService(String serviceName, String
ip) throws AxisFault;

This will make the EndpointReference getEPRForService(String
serviceName, String ip) method to be redundant. So let's make that
method deprecated (can we remove it now itself?) and will be changing
all the internal classes to use the new method.

Please review and comment on this and the commit with this change will
follow soon.


View raw message