Uses of Class
com.opensymphony.xwork2.inject.ContainerBuilder
Packages that use ContainerBuilder
Package
Description
Configuration core classes.
Configuration implementation classes.
Configuration provider classes.
Guice (pronounced "juice").
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 ContainerBuilderModifier and TypeMethodDescriptionvoid
ContainerProvider.register
(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the Containervoid
FileManagerFactoryProvider.register
(ContainerBuilder builder, LocatableProperties props) void
FileManagerProvider.register
(ContainerBuilder builder, LocatableProperties props) -
Uses of ContainerBuilder in com.opensymphony.xwork2.config.impl
Methods in com.opensymphony.xwork2.config.impl that return ContainerBuilderModifier and TypeMethodDescriptionstatic ContainerBuilder
DefaultConfiguration.bootstrapFactories
(ContainerBuilder builder) static ContainerBuilder
DefaultConfiguration.bootstrapTypeConverters
(ContainerBuilder builder) Methods in com.opensymphony.xwork2.config.impl with parameters of type ContainerBuilderModifier and TypeMethodDescriptionstatic ContainerBuilder
DefaultConfiguration.bootstrapFactories
(ContainerBuilder builder) static ContainerBuilder
DefaultConfiguration.bootstrapTypeConverters
(ContainerBuilder builder) -
Uses of ContainerBuilder in com.opensymphony.xwork2.config.providers
Methods in com.opensymphony.xwork2.config.providers with parameters of type ContainerBuilderModifier and TypeMethodDescriptionvoid
StrutsDefaultConfigurationProvider.register
(ContainerBuilder builder, LocatableProperties props) void
XmlConfigurationProvider.register
(ContainerBuilder containerBuilder, LocatableProperties props) void
XmlDocConfigurationProvider.register
(ContainerBuilder containerBuilder, LocatableProperties props) protected void
XmlDocConfigurationProvider.registerBean
(Element child, Map<String, Node> loadedBeans, ContainerBuilder containerBuilder) protected void
XmlDocConfigurationProvider.registerBeanSelection
(Element child, ContainerBuilder containerBuilder, LocatableProperties props) -
Uses of ContainerBuilder in com.opensymphony.xwork2.inject
Methods in com.opensymphony.xwork2.inject that return ContainerBuilderModifier and TypeMethodDescription<T> ContainerBuilder
Convenience method. Equivalent toalias(type, Container.DEFAULT_NAME, type)
.<T> ContainerBuilder
Maps an existing factory to a new name.Maps a constant value to the given name.Maps a constant value to the given name.Maps a constant value to the given name.Maps a constant value to the given name.Maps a constant value to the given name.Maps a constant value to the given name.Maps a constant value to the given name.<E extends Enum<E>>
ContainerBuilderMaps an enum to the given name.Maps a class to the given name.Maps a constant value to the given name.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, type)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, factory, Scope.PROTOTYPE)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, factory, scope)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, type, scope)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, implementation)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, implementation, scope)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, name, type)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, name, factory, Scope.PROTOTYPE)
.<T> ContainerBuilder
Maps a factory to a given dependency type and name.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, name, type, scope)
.<T> ContainerBuilder
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.ContainerBuilder.injectStatics
(Class<?>... types) Upon creation, theContainer
will inject static fields and methods into the given classes.Methods in com.opensymphony.xwork2.inject with parameters of type ContainerBuilderModifier and TypeMethodDescriptionvoid
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 ContainerBuilderModifier and TypeMethodDescriptionvoid
StubConfigurationProvider.register
(ContainerBuilder builder, LocatableProperties props) -
Uses of ContainerBuilder in org.apache.struts2.config
Methods in org.apache.struts2.config with parameters of type ContainerBuilderModifier and TypeMethodDescriptionprotected 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
PropertiesConfigurationProvider.register
(ContainerBuilder builder, LocatableProperties props) void
StrutsBeanSelectionProvider.register
(ContainerBuilder builder, LocatableProperties props) void
StrutsJavaConfigurationProvider.register
(ContainerBuilder builder, LocatableProperties props) void
StrutsXmlConfigurationProvider.register
(ContainerBuilder containerBuilder, LocatableProperties props)