Class HostAssembly

java.lang.Object
com.ultikits.ultitools.manager.HostAssembly

@Internal final class HostAssembly extends Object
Owns attachment and its inverse for both kinds of host.
  • Field Details

  • Constructor Details

  • Method Details

    • host

      PluginHost host()
    • recordManualCleanup

      void recordManualCleanup()
    • attach

      boolean attach()
    • isAssembled

      boolean isAssembled()
    • assemble

      void assemble()
    • activate

      boolean activate()
    • registerResources

      private void registerResources()
    • registerModuleEventHandlers

      private void registerModuleEventHandlers(EventBus events, Object bean)
    • registerBukkit

      private void registerBukkit()
    • unwind

      private void unwind(Throwable failure)
      Release registrations, then destroy beans while their data and messages are still available.
    • drainCommands

      private void drainCommands()
    • detach

      @Nullable @Nullable Throwable detach(String logName)
      Reports the failed steps and returns only the failure that callers may propagate.