# Uses of Interface
org.apache.struts2.inject.Container

Packages that use Container
Package
Description
org.apache.struts2
Main XWork interfaces and classes.
org.apache.struts2.components
org.apache.struts2.components.template
org.apache.struts2.config
Classes for Struts configuration and property handling.
org.apache.struts2.config.impl
Configuration implementation classes.
org.apache.struts2.conversion.impl
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.inject
Guice (pronounced "juice").
org.apache.struts2.interceptor
Interceptor classes.
org.apache.struts2.mock
XWork specific mock classes.
org.apache.struts2.ognl
org.apache.struts2.util.fs
org.apache.struts2.views.freemarker

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

  Fields in org.apache.struts2 declared as Container
  Modifier and Type
  Field
  Description
  `protected Container`
  ActionSupport.`container`
  `protected Container`
  DefaultActionInvocation.`container`
  `protected Container`
  DefaultActionProxyFactory.`container`
  `protected Container`
  XWorkJUnit4TestCase.`container`
  `protected Container`
  XWorkTestCase.`container`
  Methods in org.apache.struts2 that return Container
  Modifier and Type
  Method
  Description
  `Container`
  ActionContext.`getContainer()`
  Sets the container for this request
  `protected Container`
  ActionSupport.`getContainer()`
  TODO: This a temporary solution, maybe we should consider stop injecting container into beans
  Methods in org.apache.struts2 with parameters of type Container
  Modifier and Type
  Method
  Description
  `void`
  ActionSupport.`setContainer(Container container)`
  `void`
  DefaultActionInvocation.`setContainer(Container cont)`
  `void`
  DefaultActionProxyFactory.`setContainer(Container container)`
  `void`
  DefaultUnknownHandlerManager.`setContainer(Container container)`
  `void`
  ObjectFactory.`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
  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
  Description
  `void`
  TemplateEngineManager.`setContainer(Container container)`

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

  Methods in org.apache.struts2.config that return Container
  Modifier and Type
  Method
  Description
  `Container`
  Configuration.`getContainer()`

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

  Fields in org.apache.struts2.config.impl declared as Container
  Modifier and Type
  Field
  Description
  `protected Container`
  DefaultConfiguration.`container`
  Methods in org.apache.struts2.config.impl that return Container
  Modifier and Type
  Method
  Description
  `protected Container`
  DefaultConfiguration.`createBootstrapContainer(List<ContainerProvider> providers)`
  `Container`
  DefaultConfiguration.`getContainer()`
  `Container`
  MockConfiguration.`getContainer()`
  Methods in org.apache.struts2.config.impl with parameters of type Container
  Modifier and Type
  Method
  Description
  `protected ActionContext`
  DefaultConfiguration.`setContext(Container cont)`

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

  Methods in org.apache.struts2.conversion.impl with parameters of type Container
  Modifier and Type
  Method
  Description
  `void`
  DefaultTypeConverter.`setContainer(Container container)`
  `void`
  XWorkBasicConverter.`setContainer(Container container)`

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

  Methods in org.apache.struts2.dispatcher that return Container
  Modifier and Type
  Method
  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
  Description
  `protected Container`
  DefaultActionMapper.`container`
  `protected Container`
  PrefixBasedActionMapper.`container`
  Methods in org.apache.struts2.dispatcher.mapper with parameters of type Container
  Modifier and Type
  Method
  Description
  `void`
  DefaultActionMapper.`setContainer(Container container)`
  `void`
  PrefixBasedActionMapper.`setContainer(Container container)`
  Constructors in org.apache.struts2.dispatcher.mapper with parameters of type Container
  Modifier
  Constructor
  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
  Description
  `void`
  DefaultUnknownHandlerFactory.`setContainer(Container container)`
  `void`
  StrutsConverterFactory.`setContainer(Container container)`

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

  Methods in org.apache.struts2.inject that return Container
  Modifier and Type
  Method
  Description
  `Container`
  ContainerBuilder.`create(boolean loadSingletons)`
  Creates a `Container` instance.
  `Container`
  Context.`getContainer()`

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

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

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

  Classes in org.apache.struts2.mock that implement Container
  Modifier and Type
  Class
  Description
  `class`
  `MockContainer`
  Mock implementation to be used in unittests

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

  Fields in org.apache.struts2.ognl declared as Container
  Modifier and Type
  Field
  Description
  `protected Container`
  OgnlValueStackFactory.`container`
  Methods in org.apache.struts2.ognl with parameters of type Container
  Modifier and Type
  Method
  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 org.apache.struts2.util.fs

  Methods in org.apache.struts2.util.fs with parameters of type Container
  Modifier and Type
  Method
  Description
  `void`
  DefaultFileManagerFactory.`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
  Description
  `void`
  FreemarkerManager.`setContainer(Container container)`