Interface ActivationLogEntry

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
ActivationLogEntry.BuilderBase.ActivationLogEntryImpl

public interface ActivationLogEntry extends Prototype.Api
Log entry for lifecycle related events (i.e., activation startup and deactivation shutdown).
See Also:
  • Method Details

    • builder

      static ActivationLogEntry.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static ActivationLogEntry create()
      Create a new instance with default values.
      Returns:
      a new instance
    • event

      Event event()
      The event.
      Returns:
      the event
    • message

      Optional<String> 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