| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FileManagerProvider.register(ContainerBuilder builder,
        LocatableProperties props)  | 
void | 
FileManagerFactoryProvider.register(ContainerBuilder builder,
        LocatableProperties props)  | 
void | 
ContainerProvider.register(ContainerBuilder builder,
        LocatableProperties props)
Registers beans and properties for the Container 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
XWorkConfigurationProvider.register(ContainerBuilder builder,
        LocatableProperties props)  | 
void | 
XmlConfigurationProvider.register(ContainerBuilder containerBuilder,
        LocatableProperties props)  | 
| 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.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.DEFAULT). | 
<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.DEFAULT). | 
<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. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ContainerBuilder.Command.build(ContainerBuilder builder)
Contributes factories to the given builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
StubConfigurationProvider.register(ContainerBuilder builder,
        LocatableProperties props)  | 
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.