org.objectweb.jonas.ws
Class ServletEndpoints

java.lang.Object
  extended byorg.objectweb.jonas.ws.ServletEndpoints

public class ServletEndpoints
extends java.lang.Object

The ServletEndpoints objects are used to configure the JAX-RPC Runtime for endpoints URL linked to ports.

Author:
Guillaume Sauthier

Constructor Summary
ServletEndpoints()
          Default constructor
 
Method Summary
 void addEndpoint(java.lang.String port, java.lang.String url)
          Add a map entry associating the given port name to the given URL endpoint
 java.lang.String getEndpointURL(java.lang.String port)
           
 java.util.Iterator getPortNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletEndpoints

public ServletEndpoints()
Default constructor

Method Detail

getPortNames

public java.util.Iterator getPortNames()
Returns:
Returns an Iterator over the port names

getEndpointURL

public java.lang.String getEndpointURL(java.lang.String port)
Parameters:
port - the port name we want the endpoint URL
Returns:
Returns the enpoint URL associated with the given port name

addEndpoint

public void addEndpoint(java.lang.String port,
                        java.lang.String url)
Add a map entry associating the given port name to the given URL endpoint

Parameters:
port - the port name used as a key
url - the endpoint URL of the given port