/** * Creates an {@link Adapter} that delivers * messages to the given endpoint. */ protected Adapter(WSEndpoint endpoint) { assert endpoint!=null; this.endpoint = endpoint; // Enables other components to reconfigure this adapter endpoint.getComponents().add(getEndpointComponent()); }
/** * Creates an {@link Adapter} that delivers * messages to the given endpoint. */ protected Adapter(WSEndpoint endpoint) { assert endpoint!=null; this.endpoint = endpoint; // Enables other components to reconfigure this adapter endpoint.getComponents().add(getEndpointComponent()); }
/** * Creates an {@link Adapter} that delivers * messages to the given endpoint. */ protected Adapter(WSEndpoint endpoint) { assert endpoint!=null; this.endpoint = endpoint; // Enables other components to reconfigure this adapter endpoint.getComponents().add(getEndpointComponent()); }
public @Nullable <S> S getSPI(@NotNull Class<S> spiType) { Set<Component> componentRegistry = getComponents(); if (componentRegistry != null) { for (Component c : componentRegistry) { S s = c.getSPI(spiType); if (s != null) return s; } } return getContainer().getSPI(spiType); }
public @Nullable <S> S getSPI(@NotNull Class<S> spiType) { Set<Component> componentRegistry = getComponents(); if (componentRegistry != null) { for (Component c : componentRegistry) { S s = c.getSPI(spiType); if (s != null) return s; } } return getContainer().getSPI(spiType); }
public @Nullable <S> S getSPI(@NotNull Class<S> spiType) { Set<Component> componentRegistry = getComponents(); if (componentRegistry != null) { for (Component c : componentRegistry) { S s = c.getSPI(spiType); if (s != null) return s; } } return getContainer().getSPI(spiType); }
public boolean handleGet(@NotNull WSHTTPConnection connection) throws IOException { if (connection.getRequestMethod().equals("GET")) { for (Component c : endpoint.getComponents()) { HttpMetadataPublisher spi = c.getSPI(HttpMetadataPublisher.class); if (spi != null && spi.handleMetadataRequest(this, connection)) {
public boolean handleGet(@NotNull WSHTTPConnection connection) throws IOException { if (connection.getRequestMethod().equals("GET")) { for (Component c : endpoint.getComponents()) { HttpMetadataPublisher spi = c.getSPI(HttpMetadataPublisher.class); if (spi != null && spi.handleMetadataRequest(this, connection)) {
public boolean handleGet(@NotNull WSHTTPConnection connection) throws IOException { if (connection.getRequestMethod().equals("GET")) { for (Component c : endpoint.getComponents()) { HttpMetadataPublisher spi = c.getSPI(HttpMetadataPublisher.class); if (spi != null && spi.handleMetadataRequest(this, connection)) {