org.ow2.jonas.ws.cxf.jaxws
Class WebservicesContainer<T extends IWebServiceEndpoint>

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.base.JAXWSWebservicesContainer<T>
      extended by org.ow2.jonas.ws.cxf.jaxws.WebservicesContainer<T>
All Implemented Interfaces:
IWebservicesContainer<T>

public class WebservicesContainer<T extends IWebServiceEndpoint>
extends JAXWSWebservicesContainer<T>

The WebservicesContainer represents a group of endpoints sharing the same WSDL Definition. Grouping is based on the WSDL location value.
For example, if 2 endpoints (from the same archive) are declaring the same WSDL location ('META-INF/wsdl/definition.wsdl' for example), they will be grouped in the same container.

Author:
Guillaume Sauthier

Constructor Summary
WebservicesContainer(String name)
          Construct the group.
 
Method Summary
 org.apache.cxf.Bus getBus()
           
 List<PublishableDefinition> getPublishableDefinitions()
           
 void stop()
          Stops the container.
 
Methods inherited from class org.ow2.jonas.ws.jaxws.base.JAXWSWebservicesContainer
addEndpoint, findUpdatedURL, getEndpoints, getName, getWsdlPublicationDirectory, removeEndpoint, setWsdlPublicationDirectory, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebservicesContainer

public WebservicesContainer(String name)
Construct the group.

Parameters:
name - Shared WSDL Location
Method Detail

getBus

public org.apache.cxf.Bus getBus()
Returns:
the shared Bus instance.

stop

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

Specified by:
stop in interface IWebservicesContainer<T extends IWebServiceEndpoint>
Overrides:
stop in class JAXWSWebservicesContainer<T extends IWebServiceEndpoint>

getPublishableDefinitions

public List<PublishableDefinition> getPublishableDefinitions()
Returns:
list of publishable definition that will be used by the publisher


Copyright © 2010 OW2 Consortium. All Rights Reserved.