public interface ActivationLog
Tracks the transformations of
ServiceProvider's ActivationStatus in lifecycle activity (i.e., activation
startup and deactivation shutdown).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionio.helidon.inject.api.ActivationLogEntryrecord(io.helidon.inject.api.ActivationLogEntry entry) Expected to be called during service creation and activation to capture the activation log transcripts.default Optional<ActivationLogQuery> toQuery()Optionally provide a means to query the activation log, if query is possible.
-
Method Details
-
record
io.helidon.inject.api.ActivationLogEntry record(io.helidon.inject.api.ActivationLogEntry entry) Expected to be called during service creation and activation to capture the activation log transcripts.- Parameters:
entry- the log entry to record- Returns:
- the (perhaps decorated) activation log entry
-
toQuery
Optionally provide a means to query the activation log, if query is possible. If query is not possible then an empty will be returned.- Returns:
- the optional query API of log activation records
-