| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ContainerBuilder | |
|---|---|
| com.opensymphony.xwork2.config | Configuration core classes. | 
| com.opensymphony.xwork2.config.impl | Configuration implementation 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 | |
|---|---|
 void | 
ContainerProvider.register(ContainerBuilder builder,
         LocatableProperties props)
Registers beans and properties for the Container  | 
| Uses of ContainerBuilder in com.opensymphony.xwork2.config.impl | 
|---|
| Methods in com.opensymphony.xwork2.config.impl with parameters of type ContainerBuilder | |
|---|---|
 void | 
DefaultConfiguration.ContainerProperties.setConstants(ContainerBuilder builder)
 | 
| Uses of ContainerBuilder in com.opensymphony.xwork2.config.providers | 
|---|
| Methods in com.opensymphony.xwork2.config.providers with parameters of type ContainerBuilder | |
|---|---|
 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 | ||
|---|---|---|
 | 
ContainerBuilder.alias(Class<T> type,
      String alias)
Convenience method. Equivalent to alias(type, Container.DEFAULT_NAME,
 type). | 
|
 | 
ContainerBuilder.alias(Class<T> type,
      String name,
      String alias)
Maps an existing factory to a new name.  | 
|
private 
 | 
ContainerBuilder.alias(Key<T> key,
      Key<T> aliasKey)
Maps an existing dependency.  | 
|
private 
 | 
ContainerBuilder.constant(Class<T> type,
         String name,
         T value)
Maps a constant value to the given type and 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.  | 
|
 | 
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.  | 
|
 | 
ContainerBuilder.factory(Class<T> type)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, type). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        Class<? extends T> implementation)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, implementation). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        Class<? extends T> implementation,
        Scope scope)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, implementation, scope). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        Factory<? extends T> factory)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, factory, Scope.DEFAULT). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        Factory<? extends T> factory,
        Scope scope)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, factory, scope). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        Scope scope)
Convenience method. Equivalent to factory(type,
 Container.DEFAULT_NAME, type, scope). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name)
Convenience method. Equivalent to factory(type, name, type). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name,
        Class<? extends T> implementation)
Maps an implementation class to a given dependency type and name.  | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name,
        Class<? extends T> implementation,
        Scope scope)
Maps an implementation class to a given dependency type and name.  | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name,
        Factory<? extends T> factory)
Convenience method. Equivalent to factory(type, name, factory,
 Scope.DEFAULT). | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name,
        Factory<? extends T> factory,
        Scope scope)
Maps a factory to a given dependency type and name.  | 
|
 | 
ContainerBuilder.factory(Class<T> type,
        String name,
        Scope scope)
Convenience method. Equivalent to factory(type, name, type,
 scope). | 
|
private 
 | 
ContainerBuilder.factory(Key<T> key,
        InternalFactory<? extends T> factory,
        Scope scope)
Maps a dependency.  | 
|
 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 | |
|---|---|
 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 | |
|---|---|
 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 | |
|---|---|
(package private)  void | 
BeanSelectionProvider.alias(Class type,
      String key,
      ContainerBuilder builder,
      Properties props)
 | 
(package private)  void | 
BeanSelectionProvider.alias(Class type,
      String key,
      ContainerBuilder builder,
      Properties props,
      Scope scope)
 | 
 void | 
BeanSelectionProvider.register(ContainerBuilder builder,
         LocatableProperties props)
 | 
 void | 
DefaultPropertiesProvider.register(ContainerBuilder builder,
         LocatableProperties props)
 | 
 void | 
StrutsXmlConfigurationProvider.register(ContainerBuilder containerBuilder,
         LocatableProperties props)
 | 
 void | 
LegacyPropertiesConfigurationProvider.register(ContainerBuilder builder,
         LocatableProperties props)
 | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||