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
ConstructorsConstructorDescriptionPlexusContainerCapsule(LookupContext context, ClassLoader previousClassLoader, org.codehaus.plexus.DefaultPlexusContainer plexusContainer) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Performs a clean shutdown of backing container.The TCCL, if implementation requires it.TheLookupservice backed by container in this capsule.voidupdateLogging(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:ContainerCapsuleUpdates the existing capsule logging setup.- Specified by:
updateLoggingin interfaceContainerCapsule
-
getLookup
Description copied from interface:ContainerCapsuleTheLookupservice backed by container in this capsule.- Specified by:
getLookupin interfaceContainerCapsule
-
currentThreadClassLoader
Description copied from interface:ContainerCapsuleThe TCCL, if implementation requires it.- Specified by:
currentThreadClassLoaderin interfaceContainerCapsule
-
close
public void close()Description copied from interface:ContainerCapsulePerforms a clean shutdown of backing container.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceContainerCapsule
-