Package 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,ManagedEndpoint,MessageDispatch,Module,PacketDispatch,SEIStub,ServerAdapter,ServletAdapter,ServletModule,SOAPMessageDispatch,Stub,TCPAdapter,TCPServiceChannelWSAdapter,WebModule,WSEndpoint,WSEndpointImpl,WSEndpointMOMProxy,WSService,WSServiceDelegate
public interface ComponentInterface that allows components to hook up with each other. ReplacesEndpointComponentso that component pattern can apply to more RI types.- Since:
- 2.2.6
- See Also:
WSEndpoint.getComponents(),ComponentRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S> SgetSPI(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.
-
-