## Uses of Class
com.opensymphony.xwork2.inject.ContainerBuilder

- Packages that use ContainerBuilder
  Package | Description
  --- | ---
  com.opensymphony.xwork2.config | Configuration core classes.
  com.opensymphony.xwork2.config.providers | Configuration provider classes.
  com.opensymphony.xwork2.inject | Guice (pronounced "juice").
  com.opensymphony.xwork2.test |
  org.apache.struts2.config | Classes for Struts configuration and property handling.

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

    Methods in com.opensymphony.xwork2.config with parameters of type ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | ContainerProvider.`register(ContainerBuilder builder, LocatableProperties props)` Registers beans and properties for the Container
    `void` | FileManagerFactoryProvider.`register(ContainerBuilder builder, LocatableProperties props)`
    `void` | FileManagerProvider.`register(ContainerBuilder builder, LocatableProperties props)`

  - ### Uses of ContainerBuilder in com.opensymphony.xwork2.config.providers

    Methods in com.opensymphony.xwork2.config.providers with parameters of type ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | XmlConfigurationProvider.`register(ContainerBuilder containerBuilder, LocatableProperties props)`
    `void` | XWorkConfigurationProvider.`register(ContainerBuilder builder, LocatableProperties props)`

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

    Methods in com.opensymphony.xwork2.inject that return ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `<T> ContainerBuilder` | ContainerBuilder.`alias(Class<T> type, String alias)` Convenience method. Equivalent to `alias(type, Container.DEFAULT_NAME, type)`.
    `<T> ContainerBuilder` | ContainerBuilder.`alias(Class<T> type, String name, String alias)` Maps an existing factory to a new name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, boolean value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, char value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, Class value)` Maps a class to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, double value)` Maps a constant value to the given name.
    `<E extends Enum<E>> ContainerBuilder` | ContainerBuilder.`constant(String name, E value)` Maps an enum to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, float value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, int value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, long value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, short value)` Maps a constant value to the given name.
    `ContainerBuilder` | ContainerBuilder.`constant(String name, String value)` Maps a constant value to the given name.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, type)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, Class<? extends T> implementation)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, implementation)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, Class<? extends T> implementation, Scope scope)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, implementation, scope)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, Factory<? extends T> factory)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, factory, Scope.PROTOTYPE)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, Factory<? extends T> factory, Scope scope)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, factory, scope)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, Scope scope)` Convenience method. Equivalent to `factory(type, Container.DEFAULT_NAME, type, scope)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name)` Convenience method. Equivalent to `factory(type, name, type)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name, Class<? extends T> implementation)` Maps an implementation class to a given dependency type and name.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name, Class<? extends T> implementation, Scope scope)` Maps an implementation class to a given dependency type and name.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name, Factory<? extends T> factory)` Convenience method. Equivalent to `factory(type, name, factory, Scope.PROTOTYPE)`.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name, Factory<? extends T> factory, Scope scope)` Maps a factory to a given dependency type and name.
    `<T> ContainerBuilder` | ContainerBuilder.`factory(Class<T> type, String name, Scope scope)` Convenience method. Equivalent to `factory(type, name, type, scope)`.
    `ContainerBuilder` | ContainerBuilder.`injectStatics(Class<?>... types)` Upon creation, the `Container` will inject static fields and methods into the given classes.

    Methods in com.opensymphony.xwork2.inject with parameters of type ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | ContainerBuilder.Command.`build(ContainerBuilder builder)` Contributes factories to the given builder.

  - ### Uses of ContainerBuilder in com.opensymphony.xwork2.test

    Methods in com.opensymphony.xwork2.test with parameters of type ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | StubConfigurationProvider.`register(ContainerBuilder builder, LocatableProperties props)`

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

    Methods in org.apache.struts2.config with parameters of type ContainerBuilder
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractBeanSelectionProvider.`alias(Class type, String key, ContainerBuilder builder, Properties props)`
    `protected void` | AbstractBeanSelectionProvider.`alias(Class type, String key, ContainerBuilder builder, Properties props, Scope scope)`
    `void` | DefaultPropertiesProvider.`register(ContainerBuilder builder, LocatableProperties props)`
    `void` | DefaultBeanSelectionProvider.`register(ContainerBuilder builder, LocatableProperties props)`
    `void` | PropertiesConfigurationProvider.`register(ContainerBuilder builder, LocatableProperties props)`
    `void` | StrutsXmlConfigurationProvider.`register(ContainerBuilder containerBuilder, LocatableProperties props)`

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