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

- Packages that use Factory
  Package | Description
  --- | ---
  com.opensymphony.xwork2.config.impl | Configuration implementation classes.
  com.opensymphony.xwork2.inject | Guice (pronounced "juice").

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

    Classes in com.opensymphony.xwork2.config.impl that implement Factory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LocatableConstantFactory<T>` Factory that remembers where a constant came from
    `class` | `LocatableFactory<T>` Attaches location information to the factory.

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

    Methods in com.opensymphony.xwork2.inject with parameters of type Factory
    Modifier and Type | Method and Description
    --- | ---
    `<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, 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.

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