public interface ActivationLogEntry
Log entry for lifecycle related events (i.e., activation startup and deactivation shutdown).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classEnsures that the non-nullable fields are populated with default values. -
Method Summary
Modifier and TypeMethodDescriptionOptionally, when this log entry pertains to a service provider activation.error()Any observed error during activation.event()The event.Optionally, the injection point that the event pertains to.message()Optionally, any special message being logged.Optionally, the managing service provider the event pertains to.longthreadId()The thread id that the event occurred on.time()The time this event was generated.
-
Method Details
-
event
Event event()The event.- Returns:
- the event
-
message
Optionally, any special message being logged.- Returns:
- the message
-
activationResult
Optional<ActivationResult> activationResult()Optionally, when this log entry pertains to a service provider activation.- Returns:
- the activation result
-
serviceProvider
Optional<ServiceProvider<?>> serviceProvider()Optionally, the managing service provider the event pertains to.- Returns:
- the managing service provider
-
injectionPoint
Optional<InjectionPointInfo> injectionPoint()Optionally, the injection point that the event pertains to.- Returns:
- the injection point
-
time
Instant time()The time this event was generated.- Returns:
- the time of the event
-
error
Any observed error during activation.- Returns:
- any observed error
-
threadId
long threadId()The thread id that the event occurred on.- Returns:
- the thread id
-