org.apache.struts2.plexus

## Class PlexusThreadLocal

- java.lang.Object
- - org.apache.struts2.plexus.PlexusThreadLocal

-     public class PlexusThreadLocal
      extends Object

  Stores and retrieves the plexus container in the thread

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlexusThreadLocal()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.codehaus.plexus.PlexusContainer` | `getPlexusContainer()`
    `static void` | `setPlexusContainer(org.codehaus.plexus.PlexusContainer pc)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PlexusThreadLocal

          public PlexusThreadLocal()

  - ### Method Detail

    - #### setPlexusContainer

          public static void setPlexusContainer(org.codehaus.plexus.PlexusContainer pc)

      Parameters:
        `pc` - The plexus container for this thread

    - #### getPlexusContainer

          public static org.codehaus.plexus.PlexusContainer getPlexusContainer()

      Returns:
        The plexus container for this thread

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.