Package org.springframework.aot.agent
Class RecordedInvocationsPublisher
java.lang.Object
org.springframework.aot.agent.RecordedInvocationsPublisher
Publishes invocations on method relevant to
RuntimeHints
,
as they are recorded by the RuntimeHintsAgent
.
Components interested in this can register
and deregister
themselves at any point at runtime.
- Since:
- 6.0
- Author:
- Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addListener
(RecordedInvocationsListener listener) Register the given invocations listener.static void
removeListener
(RecordedInvocationsListener listener) Deregister the given invocations listener.
-
Method Details
-
addListener
Register the given invocations listener.- Parameters:
listener
- the listener to be notified about recorded invocations
-
removeListener
Deregister the given invocations listener.- Parameters:
listener
- the listener that was notified about recorded invocations
-