Class AbstractServiceFinderConfigurator<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<T> contract  
      private javax.ws.rs.RuntimeType runtimeType  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractServiceFinderConfigurator​(java.lang.Class<T> contract, javax.ws.rs.RuntimeType runtimeType)
      Create a new configurator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<java.lang.Class<T>> loadImplementations​(java.util.Map<java.lang.String,​java.lang.Object> applicationProperties)
      Load all particular implementations of the type T using ServiceFinder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • contract

        private final java.lang.Class<T> contract
      • runtimeType

        private final javax.ws.rs.RuntimeType runtimeType
    • Constructor Detail

      • AbstractServiceFinderConfigurator

        protected AbstractServiceFinderConfigurator​(java.lang.Class<T> contract,
                                                    javax.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 java.util.List<java.lang.Class<T>> loadImplementations​(java.util.Map<java.lang.String,​java.lang.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.