org.springframework.context

Class ApplicationEvent

  • java.lang.Object
    • java.util.EventObject
      • org.springframework.context.ApplicationEvent
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor and Description
      ApplicationEvent(java.lang.Object source)
      Create a new ApplicationEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getTimestamp()
      Return the system time in milliseconds when the event happened.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ApplicationEvent

        public ApplicationEvent(java.lang.Object source)
        Create a new ApplicationEvent.
        Parameters:
        source - the object on which the event initially occurred (never null)
    • Method Detail

      • getTimestamp

        public final long getTimestamp()
        Return the system time in milliseconds when the event happened.