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.
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 Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(CustomModelClasses configuration) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidsetConfigureRecursively(boolean configureRecursively) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCustomModelClassFactory(CustomModelClassFactory customModelClassFactory) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class OrderedConfigurer
compareTo, getOrder, setOrder
-
Constructor Details
-
CustomModelClassFactoryConfigurer
public CustomModelClassFactoryConfigurer()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
lookup
Deprecated, for removal: This API element is subject to removal in a future version. -
configure
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
Deprecated, for removal: This API element is subject to removal in a future version. -
setCustomModelClassFactory
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.
-
CustomModelClassesRegistrarinstead, which collects theCustomModelClassesbeans of the application context itself and therefore needs neither this configurer nor aorg.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.