Interface Component

All Known Subinterfaces:
BoundEndpoint, ComponentEx, ComponentRegistry, WSBindingProvider
All Known Implementing Classes:
Adapter, Container, DataSourceDispatch, DispatchImpl, Fiber, HttpAdapter, JAXBDispatch, MessageDispatch, Module, PacketDispatch, SEIStub, ServerAdapter, ServletAdapter, ServletModule, SOAPMessageDispatch, Stub, WebModule, WSEndpoint, WSEndpointImpl, WSEndpointMOMProxy, WSService, WSServiceDelegate

public interface Component
Interface that allows components to hook up with each other. Replaces com.sun.xml.ws.api.server.EndpointComponent so that component pattern can apply to more RI types.
Since:
2.2.6
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <S> S
    getSPI(Class<S> spiType)
    Gets the specified SPI.
  • Method Details

    • getSPI

      @Nullable <S> S getSPI(@NotNull Class<S> spiType)
      Gets 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.

      Returns:
      null if such an SPI is not provided by this object.