Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
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.factory | |
com.opensymphony.xwork2.test | |
com.opensymphony.xwork2.util |
XWork util classes.
|
org.apache.struts2.config |
Classes for Struts configuration and property handling.
|
org.apache.struts2.dispatcher |
This package contains a reimagining of the traditional Struts filter dispatchers.
|
org.apache.struts2.ognl |
Modifier and Type | Method and Description |
---|---|
Interceptor |
ObjectFactory.buildInterceptor(InterceptorConfig interceptorConfig,
Map<String,String> interceptorRefParams)
Builds an Interceptor from the InterceptorConfig and the Map of
parameters from the interceptor reference.
|
Modifier and Type | Method and Description |
---|---|
void |
PackageProvider.init(Configuration configuration)
Initializes with the configuration
|
void |
ContainerProvider.init(Configuration configuration)
Initializes with the configuration
|
void |
FileManagerFactoryProvider.init(Configuration configuration) |
void |
FileManagerProvider.init(Configuration configuration) |
void |
PackageProvider.loadPackages()
Loads the packages for the configuration.
|
void |
ContainerProvider.register(ContainerBuilder builder,
LocatableProperties props)
Registers beans and properties for the Container
|
void |
FileManagerFactoryProvider.register(ContainerBuilder builder,
LocatableProperties props) |
void |
FileManagerProvider.register(ContainerBuilder builder,
LocatableProperties props) |
List<PackageProvider> |
Configuration.reloadContainer(List<ContainerProvider> containerProviders) |
Modifier and Type | Method and Description |
---|---|
protected RuntimeConfiguration |
DefaultConfiguration.buildRuntimeConfiguration()
This builds the internal runtime configuration used by Xwork for finding and configuring Actions from the
programmatic configuration data structures.
|
List<PackageProvider> |
MockConfiguration.reloadContainer(List<ContainerProvider> containerProviders) |
List<PackageProvider> |
DefaultConfiguration.reloadContainer(List<ContainerProvider> providers)
Calls the ConfigurationProviderFactory.getConfig() to tell it to reload the configuration and then calls
buildRuntimeConfiguration().
|
Modifier and Type | Method and Description |
---|---|
protected void |
XmlDocConfigurationProvider.addAction(Element actionElement,
PackageConfig.Builder packageContext) |
protected PackageConfig |
XmlDocConfigurationProvider.addPackage(Element packageElement)
Create a PackageConfig from an XML element representing it.
|
protected List<InterceptorMapping> |
XmlDocConfigurationProvider.buildInterceptorList(Element element,
PackageConfig.Builder context) |
static List<InterceptorMapping> |
InterceptorBuilder.constructInterceptorReference(InterceptorLocator interceptorLocator,
String refName,
Map<String,String> refParams,
Location location,
ObjectFactory objectFactory)
Builds a list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
|
void |
StrutsDefaultConfigurationProvider.init(Configuration configuration) |
protected void |
XmlDocConfigurationProvider.loadInterceptors(PackageConfig.Builder context,
Element element) |
protected InterceptorStackConfig |
XmlDocConfigurationProvider.loadInterceptorStack(Element element,
PackageConfig.Builder context) |
protected void |
XmlDocConfigurationProvider.loadInterceptorStacks(Element element,
PackageConfig.Builder context) |
void |
XmlConfigurationProvider.loadPackages() |
void |
StrutsDefaultConfigurationProvider.loadPackages() |
void |
XmlDocConfigurationProvider.loadPackages() |
protected List<InterceptorMapping> |
XmlDocConfigurationProvider.lookupInterceptorReference(PackageConfig.Builder context,
Element interceptorRefElement)
Looks up the Interceptor Class from the interceptor-ref name and creates an instance, which is added to the
provided List, or, if this is a ref to a stack, it adds the Interceptor instances from the List to this stack.
|
void |
XmlConfigurationProvider.register(ContainerBuilder containerBuilder,
LocatableProperties props) |
void |
StrutsDefaultConfigurationProvider.register(ContainerBuilder builder,
LocatableProperties props) |
void |
XmlDocConfigurationProvider.register(ContainerBuilder containerBuilder,
LocatableProperties props) |
Modifier and Type | Method and Description |
---|---|
Interceptor |
DefaultInterceptorFactory.buildInterceptor(InterceptorConfig interceptorConfig,
Map<String,String> interceptorRefParams) |
Interceptor |
InterceptorFactory.buildInterceptor(InterceptorConfig interceptorConfig,
Map<String,String> interceptorRefParams)
Builds an Interceptor from the InterceptorConfig and the Map of
parameters from the interceptor reference.
|
Modifier and Type | Method and Description |
---|---|
void |
StubConfigurationProvider.init(Configuration configuration) |
void |
StubConfigurationProvider.loadPackages() |
void |
StubConfigurationProvider.register(ContainerBuilder builder,
LocatableProperties props) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
ConfigParseUtil.toClassesSet(String newDelimitedClasses) |
static Set<Class<?>> |
ConfigParseUtil.toClassObjectsSet(String newDelimitedClasses) |
static Set<String> |
ConfigParseUtil.toNewClassesSet(Set<String> oldClasses,
String newDelimitedClasses) |
static Set<String> |
ConfigParseUtil.toNewPackageNamesSet(Collection<String> oldPackageNames,
String newDelimitedPackageNames) |
static Set<Pattern> |
ConfigParseUtil.toNewPatternsSet(Set<Pattern> oldPatterns,
String newDelimitedPatterns) |
static Set<String> |
ConfigParseUtil.toPackageNamesSet(String newDelimitedPackageNames) |
static Set<Class<?>> |
ConfigParseUtil.validateClasses(Set<String> classNames,
ClassLoader validatingClassLoader) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanSelectionProvider.init(Configuration configuration) |
void |
DefaultPropertiesProvider.init(Configuration configuration) |
void |
StrutsJavaConfigurationProvider.init(Configuration configuration) |
void |
PropertiesConfigurationProvider.init(Configuration configuration) |
void |
AbstractBeanSelectionProvider.loadPackages() |
void |
StrutsJavaConfigurationProvider.loadPackages() |
void |
PropertiesConfigurationProvider.loadPackages() |
void |
DefaultPropertiesProvider.register(ContainerBuilder builder,
LocatableProperties props) |
void |
StrutsJavaConfigurationProvider.register(ContainerBuilder builder,
LocatableProperties props) |
void |
PropertiesConfigurationProvider.register(ContainerBuilder builder,
LocatableProperties props) |
void |
StrutsXmlConfigurationProvider.register(ContainerBuilder containerBuilder,
LocatableProperties props) |
Modifier and Type | Method and Description |
---|---|
protected void |
Dispatcher.logConfigurationException(javax.servlet.http.HttpServletRequest request,
ConfigurationException e)
Performs logging of missing action/result configuration exception
|
Modifier and Type | Method and Description |
---|---|
protected void |
StrutsOgnlGuard.validateExcludedNodeTypes(Set<String> incomingExcludedNodeTypes) |
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.