Class DefaultRepositorySystemLifecycle

java.lang.Object
org.eclipse.aether.internal.impl.DefaultRepositorySystemLifecycle
All Implemented Interfaces:
RepositorySystemLifecycle

@Singleton @Named public class DefaultRepositorySystemLifecycle extends Object implements RepositorySystemLifecycle
  • Field Details

  • Constructor Details

    • DefaultRepositorySystemLifecycle

      @Inject public DefaultRepositorySystemLifecycle()
  • Method Details

    • systemEnded

      public void systemEnded()
      Description copied from interface: RepositorySystemLifecycle
      Marks the repository system as ended (shut down): all "on close" handlers will be invoked. This method may be invoked multiple times, only once will execute, subsequent calls will be no-op.
      Specified by:
      systemEnded in interface RepositorySystemLifecycle
    • addOnSystemEndedHandler

      public void addOnSystemEndedHandler(Runnable handler)
      Description copied from interface: RepositorySystemLifecycle
      Registers an "on repository system end" handler.

      Throws if repository system is already shut down.

      Specified by:
      addOnSystemEndedHandler in interface RepositorySystemLifecycle
    • requireNotShutdown

      private void requireNotShutdown()