Class BeansControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<io.micronaut.controlpanel.panels.management.BeansControlPanel.Body>
io.micronaut.controlpanel.panels.management.BeansControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel
,ControlPanel<io.micronaut.controlpanel.panels.management.BeansControlPanel.Body>
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,io.micronaut.core.util.Toggleable
@Singleton
@Refreshable
@Requires(beans=io.micronaut.management.endpoint.beans.BeansEndpoint.class) @Requires(property="micronaut.control-panel.panels.beans.enabled",notEquals="false")
public class BeansControlPanel
extends AbstractControlPanel<io.micronaut.controlpanel.panels.management.BeansControlPanel.Body>
Control panel that displays information about the beans loaded in the application.
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.controlpanel.core.ControlPanel
ControlPanel.Category, ControlPanel.View
-
Field Summary
Fields inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
configuration, controlPanelName
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionBeansControlPanel
(io.micronaut.context.BeanContext beanContext, io.micronaut.management.endpoint.beans.impl.DefaultBeanDefinitionData beanDefinitionData, ControlPanelConfiguration configuration) -
Method Summary
Methods inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
getIcon, getName, getOrder, getTitle, isEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.controlpanel.core.ControlPanel
getBodyView, getCategory, getDetailedView
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
BeansControlPanel
public BeansControlPanel(io.micronaut.context.BeanContext beanContext, io.micronaut.management.endpoint.beans.impl.DefaultBeanDefinitionData beanDefinitionData, @Named("beans") ControlPanelConfiguration configuration)
-
-
Method Details
-
getBody
public io.micronaut.controlpanel.panels.management.BeansControlPanel.Body getBody()Description copied from interface:ControlPanel
Used to render the body of the control panel.- Returns:
- the body of the control panel.
-
getBadge
Description copied from interface:ControlPanel
Badge text to be displayed in the header of the card UI element.- Returns:
- the badge text of the control panel.
-