|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.api.server.Module
public abstract class Module
Represents an object scoped to the current "module" (like a JavaEE web appliation).
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 Summary | |
|---|---|
Module()
|
|
| Method Summary | ||
|---|---|---|
abstract List<BoundEndpoint> |
getBoundEndpoints()
Gets the list of BoundEndpoint deployed in this module. |
|
|
getSPI(Class<S> spiType)
Gets the specified SPI. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Module()
| Method Detail |
|---|
@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.
@Nullable
public <S> S getSPI(@NotNull
Class<S> spiType)
ComponentThis method works as a kind of directory service for SPIs, allowing various components to define private contract and talk to each other.
getSPI in interface Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||