Interface Feature

All Known Subinterfaces:
AbstractPortableFeature
All Known Implementing Classes:
AbstractFeature, BeanValidationFeature, BeanValidationFeature.Portable, BraveClientFeature, BraveClientFeature.Portable, BraveFeature, BraveFeature.Portable, CertConstraintsFeature, CertConstraintsFeature.Portable, CircuitBreakerFailoverFeature, CircuitBreakerFailoverFeature.Portable, ClientBeanValidationFeature, ClientBeanValidationFeature.Portable, ColocFeature, ColocFeature.Portable, ConnectionFactoryFeature, ConnectionFactoryFeature.Portable, DelegatingFeature, FailoverFeature, FailoverFeature.Portable, FastInfosetFeature, FastInfosetFeature.Portable, GZIPFeature, GZIPFeature.Portable, HttpConduitFeature, HttpConduitFeature.Portable, HttpDestinationFeature, HttpDestinationFeature.Portable, JAASAuthenticationFeature, JAASAuthenticationFeature.Portable, JavascriptOptionsFeature, JavascriptOptionsFeature.Portable, JAXRSBeanValidationFeature, JAXRSBeanValidationFeature.Portable, JAXRSClientBeanValidationFeature, JAXRSClientBeanValidationFeature.Portable, JMSConfigFeature, JMSConfigFeature.Portable, LoadDistributorFeature, LoadDistributorFeature.Portable, LoggingFeature, LoggingFeature, LoggingFeature.Portable, LoggingFeature.Portable, MetricsFeature, MetricsFeature.Portable, ObservationClientFeature, ObservationClientFeature.Portable, ObservationFeature, ObservationFeature.Portable, OpenApiFeature, OpenApiFeature, OpenApiFeature.Portable, OpenApiFeature.Portable, OpenTelemetryClientFeature, OpenTelemetryClientFeature.Portable, OpenTelemetryFeature, OpenTelemetryFeature.Portable, OpenTracingClientFeature, OpenTracingClientFeature.Portable, OpenTracingFeature, OpenTracingFeature.Portable, ResponseTimeFeature, ResponseTimeFeature.Portable, RMFeature, SchemaValidationFeature, SchemaValidationFeature.Portable, SseFeature, SseFeature.Portable, StaxDataBindingFeature, StaxDataBindingFeature.Portable, StaxTransformFeature, StaxTransformFeature.Portable, ThrottlingFeature, ThrottlingFeature.Portable, WrappedFeature, WSAddressingFeature, WSPolicyFeature, XSLTFeature, XSLTFeature.Portable

public interface Feature
A Feature is something that is able to customize a Server, Client, or Bus, typically adding capabilities. For instance, there may be a LoggingFeature which configures one of the above to log each of their messages.

By default the initialize methods all delegate to initializeProvider(InterceptorProvider). If you're simply adding interceptors to a Server, Client, or Bus, this allows you to add them easily.

  • Method Details

    • initialize

      void initialize(Server server, Bus bus)
    • initialize

      void initialize(Client client, Bus bus)
    • initialize

      void initialize(InterceptorProvider interceptorProvider, Bus bus)
    • initialize

      void initialize(Bus bus)