Uses of Class
org.apache.struts2.inject.ContainerBuilder
Package
Description
Classes for Struts configuration and property handling.
Configuration implementation classes.
Configuration provider classes.
Guice (pronounced "juice").
-
Uses of ContainerBuilder in org.apache.struts2.config
Modifier 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
ContainerProvider.register
(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the Containervoid
DefaultPropertiesProvider.register
(ContainerBuilder builder, LocatableProperties props) void
FileManagerFactoryProvider.register
(ContainerBuilder builder, LocatableProperties props) void
FileManagerProvider.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) -
Uses of ContainerBuilder in org.apache.struts2.config.impl
Modifier and TypeMethodDescriptionstatic ContainerBuilder
DefaultConfiguration.bootstrapFactories
(ContainerBuilder builder) static ContainerBuilder
DefaultConfiguration.bootstrapTypeConverters
(ContainerBuilder builder) Modifier and TypeMethodDescriptionstatic ContainerBuilder
DefaultConfiguration.bootstrapFactories
(ContainerBuilder builder) static ContainerBuilder
DefaultConfiguration.bootstrapTypeConverters
(ContainerBuilder builder) -
Uses of ContainerBuilder in org.apache.struts2.config.providers
Modifier 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 org.apache.struts2.inject
Modifier 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, implementation)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, implementation, scope)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, name, type)
.<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.<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
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)
.ContainerBuilder.injectStatics
(Class<?>... types) Upon creation, theContainer
will inject static fields and methods into the given classes.Modifier and TypeMethodDescriptionvoid
ContainerBuilder.Command.build
(ContainerBuilder builder) Contributes factories to the given builder. -
Uses of ContainerBuilder in org.apache.struts2.test
Modifier and TypeMethodDescriptionvoid
StubConfigurationProvider.register
(ContainerBuilder builder, LocatableProperties props)