public abstract class AbstractAnnotationBasedBeanRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware
ImportBeanDefinitionRegistrar for message log support.EnableMessageLogReceiverEndpoint| Constructor and Description |
|---|
AbstractAnnotationBasedBeanRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
org.springframework.core.env.Environment |
getEnvironment() |
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
protected abstract void |
registerBeanDefinitions(java.lang.String channelName,
java.lang.String beanName,
org.springframework.core.annotation.AnnotationAttributes annotationAttributes,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setEnvironment(org.springframework.core.env.Environment environment)
Set the
Environment that this component runs in. |
public AbstractAnnotationBasedBeanRegistrar()
public final void setEnvironment(org.springframework.core.env.Environment environment)
Environment that this component runs in.setEnvironment in interface org.springframework.context.EnvironmentAwareenvironment - the current Spring environmentpublic final org.springframework.core.env.Environment getEnvironment()
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarprotected abstract java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
protected abstract void registerBeanDefinitions(java.lang.String channelName,
java.lang.String beanName,
org.springframework.core.annotation.AnnotationAttributes annotationAttributes,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)