public class InversionRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
Config| Modifier and Type | Field and Description |
|---|---|
static io.inversion.Api[] |
apis |
| Constructor and Description |
|---|
InversionRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment)
Copies the Spring properties configuration into the Inversion configuration
so you can put your Inversion config properties into your spring application.properties files.
|
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setEnvironment(org.springframework.core.env.Environment environment)
Any properties found in inversion*.properties files will still override any properties set in spring files.
setEnvironment in interface org.springframework.context.EnvironmentAwareenvironment - the Spring injected environmentCopyright © 2022 Rocket Partners, LLC. All rights reserved.