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

    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–2019 Apache Software Foundation. All rights reserved.