Package de.iip_ecosphere.platform.transport.spring


package de.iip_ecosphere.platform.transport.spring
Reusable Spring support classes. StartupApplicationListener configures SerializerRegistry and TransportFactory from configuration settings in SerializerConfiguration or TransportFactoryConfiguration, respectively. BeanHelper offers methods to add a default beans to the reachable parent context (shall be used in a binder configurations). Application may require link to one class in here via SpringBootApplication.scanBasePackageClasses(). In some contexts, we experienced that scanBasePackageClasses on this package disturbs the spring initialization, in particular spring cloud multi-binder settings. Then the underlying functionality can be utilized directly through RegistrationHelper or this class can be subclassed in the application and marked as component.