| 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 | |
| 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. 
 | 
| 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 | 
XmlConfigurationProvider.addAction(Element actionElement,
         PackageConfig.Builder packageContext)  | 
protected PackageConfig | 
XmlConfigurationProvider.addPackage(Element packageElement)
Create a PackageConfig from an XML element representing it. 
 | 
protected List<InterceptorMapping> | 
XmlConfigurationProvider.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 | 
XWorkConfigurationProvider.init(Configuration configuration)  | 
protected void | 
XmlConfigurationProvider.loadInterceptors(PackageConfig.Builder context,
                Element element)  | 
protected InterceptorStackConfig | 
XmlConfigurationProvider.loadInterceptorStack(Element element,
                    PackageConfig.Builder context)  | 
protected void | 
XmlConfigurationProvider.loadInterceptorStacks(Element element,
                     PackageConfig.Builder context)  | 
void | 
XmlConfigurationProvider.loadPackages()  | 
void | 
XWorkConfigurationProvider.loadPackages()  | 
void | 
XmlConfigurationProvider.register(ContainerBuilder containerBuilder,
        LocatableProperties props)  | 
void | 
XWorkConfigurationProvider.register(ContainerBuilder builder,
        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 | 
|---|---|
void | 
AbstractBeanSelectionProvider.init(Configuration configuration)  | 
void | 
DefaultPropertiesProvider.init(Configuration configuration)  | 
void | 
PropertiesConfigurationProvider.init(Configuration configuration)  | 
void | 
AbstractBeanSelectionProvider.loadPackages()  | 
void | 
PropertiesConfigurationProvider.loadPackages()  | 
void | 
DefaultPropertiesProvider.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 
 | 
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.