public interface DynamicMBeanFactory
Modifier and Type | Method and Description |
---|---|
Object |
createMBean(BeanDefinition beanDefinition,
Collection<ExecutableMethod> methods,
Supplier<Object> instanceSupplier)
Creates a dynamic management bean from the provided bean definition and methods.
|
default Object |
createMBean(BeanDefinition beanDefinition,
Supplier<Object> instanceSupplier)
Creates a dynamic management bean from the provided bean definition.
|
default Object createMBean(BeanDefinition beanDefinition, Supplier<Object> instanceSupplier)
beanDefinition
- The bean definitioninstanceSupplier
- The supplier of the instance to execute the methods onObject createMBean(BeanDefinition beanDefinition, Collection<ExecutableMethod> methods, Supplier<Object> instanceSupplier)
beanDefinition
- The bean definitionmethods
- The methods to be made available as operationsinstanceSupplier
- The supplier of the instance to execute the methods on