com.sun.xml.ws.api
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 EndpointComponent so that component pattern can apply to more RI types.

Since:
2.2.6
See Also:
WSEndpoint.getComponents(), ComponentRegistry

Method Summary
<S> S
getSPI(Class<S> spiType)
          Gets the specified SPI.
 

Method Detail

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.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.