Package io.micronaut.context.event
Class BeanContextEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.context.event.BeanContextEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BeanEvent
,ShutdownEvent
,StartupEvent
A BeanContextEvent is an event fired from the
BeanContext
instance.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
BeanContextEvent
Constructs a prototypical Event.- Parameters:
beanContext
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-