Class ValidatingConfigurationWrapper<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      <T> expectedType, ObjectLocator locator, TypeCoercerProxy typeCoercer, <T> collection,  serviceId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(T object)
      Adds an object to the service's contribution.
      void <? extends T> clazz)
      Automatically instantiates an instance of the class, with dependencies injected, and adds it to the configuration.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Method Detail

      • add

        public void add​(T object)
        Description copied from interface: Configuration
        Adds an object to the service's contribution.
        Specified by:
        add in interface Configuration<T>
        Parameters:
        object - to add to the service's configuration
      • addInstance

        public void <? extends T> clazz)
        Description copied from interface: Configuration
        Automatically instantiates an instance of the class, with dependencies injected, and adds it to the configuration. When the configuration type is an interface and the class to be contributed is a local file, then a reloadable proxy for the class will be created and contributed.
        Specified by:
        addInstance in interface Configuration<T>
        Parameters:
        clazz - what class to instantiate