Uses of Enum Class
org.apache.struts2.inject.Scope
Package
Description
Classes for Struts configuration and property handling.
Configuration entity classes.
Configuration implementation classes.
Guice (pronounced "juice").
-
Uses of Scope in org.apache.struts2.config
Modifier and TypeMethodDescriptionprotected void
AbstractBeanSelectionProvider.alias
(Class type, String key, ContainerBuilder builder, Properties props, Scope scope) -
Uses of Scope in org.apache.struts2.config.entities
ModifierConstructorDescriptionBeanConfig
(Class<?> clazz, String name, Class<?> type, Scope scope, boolean onlyStatic, boolean optional) -
Uses of Scope in org.apache.struts2.config.impl
-
Uses of Scope in org.apache.struts2.inject
Modifier and TypeMethodDescriptionstatic Scope
Scope.fromString
(String scopeStr) static Scope
Returns the enum constant of this class with the specified name.static Scope[]
Scope.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, implementation, 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
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)
.<T> ContainerBuilder
Convenience method. Equivalent tofactory(type, Container.DEFAULT_NAME, type, scope)
.