| Package | Description | 
|---|---|
| com.opensymphony.xwork2.config.impl | Configuration implementation classes. | 
| com.opensymphony.xwork2.inject | Guice (pronounced "juice"). | 
| org.apache.struts2.config | Classes for Struts configuration and property handling. | 
| org.apache.struts2.config.entities | 
| Constructor and Description | 
|---|
| LocatableFactory(String name,
                Class type,
                Class implementation,
                Scope scope,
                Object location) | 
| Modifier and Type | Method and Description | 
|---|---|
| static Scope | Scope. fromString(String scopeStr) | 
| static Scope | Scope. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Scope[] | Scope. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| <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,
       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,
       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,
       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). | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractBeanSelectionProvider. alias(Class type,
     String key,
     ContainerBuilder builder,
     Properties props,
     Scope scope) | 
| Modifier and Type | Method and Description | 
|---|---|
| Scope | BeanConfig. getScope() | 
| Constructor and Description | 
|---|
| BeanConfig(Class<?> clazz,
          String name,
          Class<?> type,
          Scope scope,
          boolean onlyStatic,
          boolean optional) | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.