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

All Known Implementing Classes:
JAXWSWebservicesModule

public interface IWebservicesModule<T extends IWebservicesContainer<? extends IWebServiceEndpoint>>

The IWebservicesModule represents all the webservices container included in an archive (ejbjar or webapp).

Author:
Guillaume Sauthier

Method Summary
 void addContainer(T container)
          Add the given container.
 T findContainer(String name)
          Find a container with the given name.
 Collection<T> getContainers()
           
 String getName()
           
 void removeContainer(T container)
          Remove a given container.
 void start()
          Starts the module.
 void stop()
          Stop the module.
 

Method Detail

addContainer

void addContainer(T container)
Add the given container.

Parameters:
container - added container

removeContainer

void removeContainer(T container)
Remove a given container.

Parameters:
container - removed container

findContainer

T findContainer(String name)
Find a container with the given name.

Parameters:
name - name of the container
Returns:
the container or null if none was found.

getContainers

Collection<T> getContainers()
Returns:
All the containers in this module

start

void start()
Starts the module. Recursively starts inner containers.


stop

void stop()
Stop the module. Recursively stops inner containers.


getName

String getName()
Returns:
the name of this module


Copyright © 2010 OW2 Consortium. All Rights Reserved.