Class TestResourcesPanelRegistration
java.lang.Object
io.micronaut.testresources.controlpanel.TestResourcesPanelRegistration
This bean is responsible for creating the panels for each
test resources resolver.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.micronaut.core.type.Argument<io.micronaut.controlpanel.core.ControlPanel>
-
Constructor Summary
ConstructorDescriptionTestResourcesPanelRegistration
(io.micronaut.context.ApplicationContext beanContext, ControlPanelPropertyResolutionListener resolutionListener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onStartup
(io.micronaut.runtime.server.event.ServerStartupEvent event) Displays the control panel URL at startup.
-
Field Details
-
CONTROL_PANEL_ARGUMENT
public static final io.micronaut.core.type.Argument<io.micronaut.controlpanel.core.ControlPanel> CONTROL_PANEL_ARGUMENT
-
-
Constructor Details
-
TestResourcesPanelRegistration
public TestResourcesPanelRegistration(io.micronaut.context.ApplicationContext beanContext, ControlPanelPropertyResolutionListener resolutionListener)
-
-
Method Details
-
onStartup
@EventListener public void onStartup(io.micronaut.runtime.server.event.ServerStartupEvent event) Displays the control panel URL at startup.- Parameters:
event
- the startup event
-