public abstract class Module extends Object implements Component
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
Container| Constructor and Description |
|---|
Module() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<BoundEndpoint> |
getBoundEndpoints()
Gets the list of
BoundEndpoint deployed in this module. |
<S> S |
getSPI(Class<S> spiType)
Gets the specified SPI.
|
@NotNull public abstract List<BoundEndpoint> getBoundEndpoints()
BoundEndpoint deployed in this module.
From the point of view of the Module implementation,
it really only needs to provide a List object as a data store.
JAX-WS will update this list accordingly.
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.