Interface ContainerCapsule

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
PlexusContainerCapsule

public interface ContainerCapsule extends AutoCloseable
Container capsule.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs a clean shutdown of backing container.
    The TCCL, if implementation requires it.
    org.apache.maven.api.services.Lookup
    The Lookup service backed by container in this capsule.
    void
    Updates the existing capsule logging setup.
  • Method Details

    • updateLogging

      void updateLogging(LookupContext context)
      Updates the existing capsule logging setup.
    • getLookup

      @Nonnull org.apache.maven.api.services.Lookup getLookup()
      The Lookup service backed by container in this capsule.
    • currentThreadClassLoader

      @Nonnull Optional<ClassLoader> currentThreadClassLoader()
      The TCCL, if implementation requires it.
    • close

      void close() throws InvokerException
      Performs a clean shutdown of backing container.
      Specified by:
      close in interface AutoCloseable
      Throws:
      InvokerException