@Configuration class that registers a AnnotationMBeanExporter bean.
This configuration class is automatically imported when using the
EnableMBeanExport annotation. See its javadoc for complete usage details.
EnableMBeanExport
| Modifier and Type | Field and Description |
|---|---|
| private BeanFactory | |
| private AnnotationAttributes | |
| private Environment | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationMBeanExporter | |
| public void | setBeanFactory(BeanFactory
owning BeanFactory (never beanFactory)null).
The bean can immediately call methods on the factory.Implements org. Callback that supplies the owning factory to a bean instance. |
| public void | setEnvironment(Environment environment)
Implements org. Set the |
| public void | setImportMetadata(AnnotationMetadata importMetadata)
Implements org. Set the annotation metadata of the importing @ |
| private void | |
| private void | |
| private void |
| beanFactory | back to summary |
|---|---|
| private BeanFactory beanFactory
| |
| enableMBeanExport | back to summary |
|---|---|
| private AnnotationAttributes enableMBeanExport
| |
| environment | back to summary |
|---|---|
| private Environment environment
| |
| MBEAN_EXPORTER_BEAN_NAME | back to summary |
|---|---|
| private static final String MBEAN_EXPORTER_BEAN_NAME | |
| MBeanExportConfiguration | back to summary |
|---|---|
| public MBeanExportConfiguration() | |
| mbeanExporter | back to summary |
|---|---|
| public AnnotationMBeanExporter mbeanExporter() | |
| setBeanFactory | back to summary |
|---|---|
| public void setBeanFactory(BeanFactory beanFactory) Implements org. Doc from org. Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties
but before an initialization callback such as
| |
| setEnvironment | back to summary |
|---|---|
| public void setEnvironment(Environment environment) Implements org. Doc from org. Set the
| |
| setImportMetadata | back to summary |
|---|---|
| public void setImportMetadata(AnnotationMetadata importMetadata) Implements org. Doc from org. Set the annotation metadata of the importing @
| |
| setupDomain | back to summary |
|---|---|
| private void setupDomain(AnnotationMBeanExporter exporter, AnnotationAttributes enableMBeanExport) | |
| setupRegistrationPolicy | back to summary |
|---|---|
| private void setupRegistrationPolicy(AnnotationMBeanExporter exporter, AnnotationAttributes enableMBeanExport) | |
| setupServer | back to summary |
|---|---|
| private void setupServer(AnnotationMBeanExporter exporter, AnnotationAttributes enableMBeanExport) | |