## Uses of Interface
com.opensymphony.xwork2.inject.Container

- Packages that use Container
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  com.opensymphony.xwork2.config | Configuration core classes.
  com.opensymphony.xwork2.config.impl | Configuration implementation classes.
  com.opensymphony.xwork2.conversion.impl |
  com.opensymphony.xwork2.factory |
  com.opensymphony.xwork2.inject | Guice (pronounced "juice").
  com.opensymphony.xwork2.mock | XWork specific mock classes.
  com.opensymphony.xwork2.ognl |
  com.opensymphony.xwork2.util.fs |
  org.apache.struts2 |
  org.apache.struts2.components |
  org.apache.struts2.components.template |
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.
  org.apache.struts2.dispatcher.mapper |
  org.apache.struts2.factory |
  org.apache.struts2.interceptor |
  org.apache.struts2.views.freemarker |

- - ### Uses of Container in com.opensymphony.xwork2

    Fields in com.opensymphony.xwork2 declared as Container
    Modifier and Type | Field and Description
    --- | ---
    `protected Container` | DefaultActionInvocation.`container`
    `protected Container` | XWorkJUnit4TestCase.`container`
    `protected Container` | XWorkTestCase.`container`
    `protected Container` | DefaultActionProxyFactory.`container`

    Methods in com.opensymphony.xwork2 that return Container
    Modifier and Type | Method and Description
    --- | ---
    `Container` | ActionContext.`getContainer()` Deprecated.

    Methods in com.opensymphony.xwork2 with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultActionInvocation.`setContainer(Container cont)`
    `void` | DefaultUnknownHandlerManager.`setContainer(Container container)`
    `void` | ObjectFactory.`setContainer(Container container)`
    `void` | DefaultActionProxyFactory.`setContainer(Container container)`
    `ActionContext` | ActionContext.`withContainer(Container container)` Deprecated.

  - ### Uses of Container in com.opensymphony.xwork2.config

    Methods in com.opensymphony.xwork2.config that return Container
    Modifier and Type | Method and Description
    --- | ---
    `Container` | Configuration.`getContainer()`

  - ### Uses of Container in com.opensymphony.xwork2.config.impl

    Fields in com.opensymphony.xwork2.config.impl declared as Container
    Modifier and Type | Field and Description
    --- | ---
    `protected Container` | DefaultConfiguration.`container`

    Methods in com.opensymphony.xwork2.config.impl that return Container
    Modifier and Type | Method and Description
    --- | ---
    `protected Container` | DefaultConfiguration.`createBootstrapContainer(List<ContainerProvider> providers)`
    `Container` | MockConfiguration.`getContainer()`
    `Container` | DefaultConfiguration.`getContainer()`

    Methods in com.opensymphony.xwork2.config.impl with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `protected ActionContext` | DefaultConfiguration.`setContext(Container cont)`

  - ### Uses of Container in com.opensymphony.xwork2.conversion.impl

    Methods in com.opensymphony.xwork2.conversion.impl with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultTypeConverter.`setContainer(Container container)`
    `void` | XWorkBasicConverter.`setContainer(Container container)`

  - ### Uses of Container in com.opensymphony.xwork2.factory

    Methods in com.opensymphony.xwork2.factory with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultUnknownHandlerFactory.`setContainer(Container container)`

  - ### Uses of Container in com.opensymphony.xwork2.inject

    Methods in com.opensymphony.xwork2.inject that return Container
    Modifier and Type | Method and Description
    --- | ---
    `Container` | ContainerBuilder.`create(boolean loadSingletons)` Creates a `Container` instance.
    `Container` | Context.`getContainer()`

  - ### Uses of Container in com.opensymphony.xwork2.mock

    Classes in com.opensymphony.xwork2.mock that implement Container
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MockContainer` Mock implementation to be used in unittests

  - ### Uses of Container in com.opensymphony.xwork2.ognl

    Fields in com.opensymphony.xwork2.ognl declared as Container
    Modifier and Type | Field and Description
    --- | ---
    `protected Container` | OgnlValueStackFactory.`container`

    Methods in com.opensymphony.xwork2.ognl with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | OgnlUtil.`setContainer(Container container)`
    `protected void` | OgnlValueStackFactory.`setContainer(Container container)` `PropertyAccessor`'s, `MethodAccessor`'s and `NullHandler`'s are registered on a per-class basis by defining a bean adhering to the corresponding interface with a name corresponding to the class it is intended to handle.

  - ### Uses of Container in com.opensymphony.xwork2.util.fs

    Methods in com.opensymphony.xwork2.util.fs with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultFileManagerFactory.`setContainer(Container container)`

  - ### Uses of Container in org.apache.struts2

    Fields in org.apache.struts2 declared as Container
    Modifier and Type | Field and Description
    --- | ---
    `protected Container` | ActionSupport.`container`

    Methods in org.apache.struts2 that return Container
    Modifier and Type | Method and Description
    --- | ---
    `protected Container` | ActionSupport.`getContainer()` TODO: This a temporary solution, maybe we should consider stop injecting container into beans
    `Container` | ActionContext.`getContainer()` Sets the container for this request

    Methods in org.apache.struts2 with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | ActionSupport.`setContainer(Container container)`
    `ActionContext` | ActionContext.`withContainer(Container container)` Gets the container for this request

  - ### Uses of Container in org.apache.struts2.components

    Methods in org.apache.struts2.components with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | OptGroup.`setContainer(Container container)`

  - ### Uses of Container in org.apache.struts2.components.template

    Methods in org.apache.struts2.components.template with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | TemplateEngineManager.`setContainer(Container container)`

  - ### Uses of Container in org.apache.struts2.dispatcher

    Methods in org.apache.struts2.dispatcher that return Container
    Modifier and Type | Method and Description
    --- | ---
    `Container` | Dispatcher.`getContainer()` Exposes a thread-cached reference of the dependency injection container.

  - ### Uses of Container in org.apache.struts2.dispatcher.mapper

    Fields in org.apache.struts2.dispatcher.mapper declared as Container
    Modifier and Type | Field and Description
    --- | ---
    `protected Container` | PrefixBasedActionMapper.`container`
    `protected Container` | DefaultActionMapper.`container`

    Methods in org.apache.struts2.dispatcher.mapper with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | PrefixBasedActionMapper.`setContainer(Container container)`
    `void` | DefaultActionMapper.`setContainer(Container container)`

    Constructors in org.apache.struts2.dispatcher.mapper with parameters of type Container
    Constructor and Description
    `CompositeActionMapper(Container container, String list)`

  - ### Uses of Container in org.apache.struts2.factory

    Methods in org.apache.struts2.factory with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | PrefixBasedActionProxyFactory.`setContainer(Container container)`

  - ### Uses of Container in org.apache.struts2.interceptor

    Methods in org.apache.struts2.interceptor with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExecuteAndWaitInterceptor.`setContainer(Container container)`
    `void` | AbstractFileUploadInterceptor.`setContainer(Container container)`

  - ### Uses of Container in org.apache.struts2.views.freemarker

    Methods in org.apache.struts2.views.freemarker with parameters of type Container
    Modifier and Type | Method and Description
    --- | ---
    `void` | FreemarkerManager.`setContainer(Container container)`

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