Class AbstractServiceFinderConfigurator<T>

    • Constructor Detail

      • AbstractServiceFinderConfigurator

        protected AbstractServiceFinderConfigurator​(Class<T> contract,
                                                    jakarta.ws.rs.RuntimeType runtimeType)
        Create a new configurator.
        Parameters:
        contract - contract of the service providers bound by this binder.
        runtimeType - runtime (client or server) where the service finder binder is used.
    • Method Detail

      • loadImplementations

        protected List<Class<T>> loadImplementations​(Map<String,​Object> applicationProperties)
        Load all particular implementations of the type T using ServiceFinder.
        Parameters:
        applicationProperties - map containing application properties. May be null
        Returns:
        all registered classes of the type T.
      • getRuntimeType

        protected jakarta.ws.rs.RuntimeType getRuntimeType()
        Mainly aimed to provide runtime type to abstract classes which extends this finder
        Returns:
        runtime type
      • getContract

        protected Class<T> getContract()
        Mainly aimed to provide contract class to abstract classes which extends this finder
        Returns:
        contract class