Interface BinderFactory

All Known Implementing Classes:
AbstractBinderFactory, BooksBinderFactory

public interface BinderFactory
A binder factory builds a custom binder for the Jersey application.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterRegistration(@NotNull ResourceConfig resourceConfig)
    Allows additional app-specific Jersey feature registration and config.
    @NotNull org.glassfish.hk2.utilities.Binder
    Builds an hk2 Binder instance.
  • Method Details

    • buildBinder

      @NotNull @NotNull org.glassfish.hk2.utilities.Binder buildBinder()
      Builds an hk2 Binder instance.

      This binder should bind all data dictionaries after loading them, as well as UI/NonUI web services and Health Check metrics

      Returns:
      a binder instance
    • afterRegistration

      void afterRegistration(@NotNull @NotNull ResourceConfig resourceConfig)
      Allows additional app-specific Jersey feature registration and config.
      Parameters:
      resourceConfig - Resource config to use for accessing the configuration