Class ServerStartupEvent
- java.lang.Object
-
- java.util.EventObject
-
- io.micronaut.context.event.ApplicationEvent
-
- io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
-
- io.micronaut.runtime.event.ApplicationStartupEvent
-
- io.micronaut.runtime.server.event.ServerStartupEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerStartupEvent extends ApplicationStartupEvent
Event fired when theEmbeddedServercompletes startup.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerStartupEvent(EmbeddedServer embeddedServer)Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddedServergetSource()
-
-
-
Constructor Detail
-
ServerStartupEvent
public ServerStartupEvent(EmbeddedServer embeddedServer)
Constructs a prototypical Event.- Parameters:
embeddedServer- object on which the Event initially occurred.- Throws:
java.lang.IllegalArgumentException- if source is null.
-
-
Method Detail
-
getSource
public EmbeddedServer getSource()
- Overrides:
getSourcein classAbstractEmbeddedApplicationEvent
-
-