org.ow2.jonas.ws.jaxws
Interface IWebservicesContainer<T extends IWebServiceEndpoint>

All Known Implementing Classes:
JAXWSWebservicesContainer, WebservicesContainer, WebservicesContainer

public interface IWebservicesContainer<T extends IWebServiceEndpoint>

The IWebservicesContainer is a group of webservices endpoints sharing the same WSDL definition.

Author:
Guillaume Sauthier

Method Summary
 void addEndpoint(T endpoint)
          Add a new endpoint in the group.
 String findUpdatedURL(PortIdentifier identifier)
          Given a service/port pair, try to find a matching endpoint URL.
 Collection<T> getEndpoints()
           
 String getName()
           
 String getWsdlPublicationDirectory()
           
 void removeEndpoint(T endpoint)
          Remove an endpoint from the group.
 void setWsdlPublicationDirectory(String wsdlPublicationDirectory)
          Set the WSDL publication directory for this WSDL.
 void start()
          Starts the container.
 void stop()
          Stops the container.
 

Method Detail

addEndpoint

void addEndpoint(T endpoint)
Add a new endpoint in the group.

Parameters:
endpoint - newly added endpoint.

removeEndpoint

void removeEndpoint(T endpoint)
Remove an endpoint from the group.

Parameters:
endpoint - removed endpoint.

findUpdatedURL

String findUpdatedURL(PortIdentifier identifier)
Given a service/port pair, try to find a matching endpoint URL.

Parameters:
identifier - Port identifier
Returns:
an endpoint URL or null if no match was found.

getName

String getName()
Returns:
the name of this container (WSDL location)

getEndpoints

Collection<T> getEndpoints()
Returns:
All the inner endpoints.

start

void start()
Starts the container. Recursively starts inner endpoints.


stop

void stop()
Stops the container. Recursively stops inner endpoints.


setWsdlPublicationDirectory

void setWsdlPublicationDirectory(String wsdlPublicationDirectory)
Set the WSDL publication directory for this WSDL.

Parameters:
wsdlPublicationDirectory - directory

getWsdlPublicationDirectory

String getWsdlPublicationDirectory()
Returns:
the WSDL publication directory for this WSDL (may be null).


Copyright © 2010 OW2 Consortium. All Rights Reserved.