Interface LifecycleEventOwner

All Known Subinterfaces:
BootstrapContext, Plugin
All Known Implementing Classes:
JavaPlugin, PluginBase

@Experimental @NullMarked @NonExtendable public interface LifecycleEventOwner
Implemented by types that are considered owners of registered handlers for lifecycle events. Generally the types that implement this interface also provide a LifecycleEventManager where you can register event handlers.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the plugin meta for this plugin.
  • Method Details

    • getPluginMeta

      PluginMeta getPluginMeta()
      Get the plugin meta for this plugin.
      Returns:
      the plugin meta