Package org.apache.maven.cling.invoker
Class PlexusContainerCapsule
java.lang.Object
org.apache.maven.cling.invoker.PlexusContainerCapsule
- All Implemented Interfaces:
AutoCloseable
,ContainerCapsule
Container capsule backed by Plexus Container.
-
Constructor Summary
ConstructorDescriptionPlexusContainerCapsule
(LookupContext context, ClassLoader previousClassLoader, org.codehaus.plexus.DefaultPlexusContainer plexusContainer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Performs a clean shutdown of backing container.The TCCL, if implementation requires it.TheLookup
service backed by container in this capsule.void
updateLogging
(LookupContext context) Updates the existing capsule logging setup.
-
Constructor Details
-
PlexusContainerCapsule
public PlexusContainerCapsule(LookupContext context, ClassLoader previousClassLoader, org.codehaus.plexus.DefaultPlexusContainer plexusContainer)
-
-
Method Details
-
updateLogging
Description copied from interface:ContainerCapsule
Updates the existing capsule logging setup.- Specified by:
updateLogging
in interfaceContainerCapsule
-
getLookup
Description copied from interface:ContainerCapsule
TheLookup
service backed by container in this capsule.- Specified by:
getLookup
in interfaceContainerCapsule
-
currentThreadClassLoader
Description copied from interface:ContainerCapsule
The TCCL, if implementation requires it.- Specified by:
currentThreadClassLoader
in interfaceContainerCapsule
-
close
public void close()Description copied from interface:ContainerCapsule
Performs a clean shutdown of backing container.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceContainerCapsule
-