Class CustomModelClassFactoryConfigurer<R extends Registry>

java.lang.Object
org.openehealth.ipf.commons.core.config.OrderedConfigurer<CustomModelClasses, R>
org.openehealth.ipf.modules.hl7.config.CustomModelClassFactoryConfigurer<R>
All Implemented Interfaces:
Comparable<OrderedConfigurer<CustomModelClasses, R>>, Configurer<CustomModelClasses, R>

@Deprecated(since="6.0.0", forRemoval=true) public class CustomModelClassFactoryConfigurer<R extends Registry> extends OrderedConfigurer<CustomModelClasses, R>
Deprecated, for removal: This API element is subject to removal in a future version.
declare a CustomModelClassesRegistrar instead, which collects the CustomModelClasses beans of the application context itself and therefore needs neither this configurer nor a org.openehealth.ipf.commons.spring.core.config.SpringConfigurationPostProcessor:
    <bean class="org.openehealth.ipf.modules.hl7.config.CustomModelClassesRegistrar"/>
The registrar also works in Spring Boot, where custom HL7 model classes could not be contributed through this configurer at all. Both mechanisms may be active at the same time: CustomModelClassesRegistrar.addModels(CustomModelClassFactory, CustomModelClasses, boolean) skips package definitions the factory already knows about.
Configurer used to configure all CustomModelClasses bean occurrences in the spring application context. Provides the logic to add the new package definitions after the existing ones.
Author:
Boris Stanojevic, Christian Ohr
  • Constructor Details

    • CustomModelClassFactoryConfigurer

      public CustomModelClassFactoryConfigurer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • lookup

      public Collection<CustomModelClasses> lookup(R registry)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • configure

      public void configure(CustomModelClasses configuration)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      configuration - custom configuration object used for specific configuration task
    • getCustomModelClassFactory

      public CustomModelClassFactory getCustomModelClassFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCustomModelClassFactory

      public void setCustomModelClassFactory(CustomModelClassFactory customModelClassFactory)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isConfigureRecursively

      public boolean isConfigureRecursively()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setConfigureRecursively

      public void setConfigureRecursively(boolean configureRecursively)
      Deprecated, for removal: This API element is subject to removal in a future version.