Interface Registry

All Known Subinterfaces:
CommandRegistry, ListenerRegistry, PermissionRegistry, ProxyRegistry

public interface Registry
Something that registers things with the platform and has to undo that on shutdown or reload.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Unregisters whatever this registry owns.
    default void
    Registers whatever this registry owns.
  • Method Details

    • onEnable

      default void onEnable()
      Registers whatever this registry owns.
    • onDisable

      default void onDisable()
      Unregisters whatever this registry owns.