Class Module
- All Implemented Interfaces:
Component
- Direct Known Subclasses:
WebModule
This object can be obtained from Container.getSPI(Class).
The scope of the module is driven by W3CEndpointReferenceBuilder.build()'s
requirement that we need to identify a WSEndpoint that has a specific
service/port name.
For JavaEE containers this should be scoped to a JavaEE application. For
other environment, this could be scoped to any similar notion. If no such
notion is available, the implementation of Container can return
a new Module object each time Container.getSPI(Class) is invoked.
There's a considerable overlap between this and HttpAdapterList.
The SPI really needs to be reconsidered
- Since:
- 2.1 EA3
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<BoundEndpoint>Gets the list ofBoundEndpointdeployed in this module.<S> SGets the specified SPI.
-
Constructor Details
-
Module
protected Module()Default constructor.
-
-
Method Details
-
getBoundEndpoints
Gets the list ofBoundEndpointdeployed in this module.From the point of view of the
Moduleimplementation, it really only needs to provide aListobject as a data store. JAX-WS will update this list accordingly.- Returns:
- always return the same non-null instance.
-
getSPI
Description copied from interface:ComponentGets the specified SPI.This method works as a kind of directory service for SPIs, allowing various components to define private contract and talk to each other.
-