Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I L M N O P R S T

## A

Action - Annotation Type in org.apache.struts2.convention.annotation
ActionConfigBuilder - Interface in org.apache.struts2.convention
  This interface defines how the action configurations for the current web application can be constructed.
ActionNameBuilder - Interface in org.apache.struts2.convention
  This interface defines the method that is used to create action names based on the name of a class.
Actions - Annotation Type in org.apache.struts2.convention.annotation
addResult(Class<?>, String, Map<String, ResultConfig>, PackageConfig, Map<String, ResultTypeConfig>, String) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Checks if result was already assigned, if not checks global results first and if exists, adds reference to it.

## B

build(String) - Method in interface org.apache.struts2.convention.ActionNameBuilder
  Given the name of the class, this method should build an action name.
build(String) - Method in class org.apache.struts2.convention.DefaultActionNameBuilder
build(Class<?>, PackageConfig.Builder, String, Action) - Method in class org.apache.struts2.convention.DefaultInterceptorMapBuilder
build(InterceptorRef[], String, PackageConfig.Builder) - Method in class org.apache.struts2.convention.DefaultInterceptorMapBuilder
build(Class<?>, Action, String, PackageConfig) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Builds the result configurations given the action information.
build(Class<?>, PackageConfig.Builder, String, Action) - Method in interface org.apache.struts2.convention.InterceptorMapBuilder
  Builds the interceptor configurations given the action information.
build(Class<?>, Action, String, PackageConfig) - Method in interface org.apache.struts2.convention.ResultMapBuilder
  Builds the result configurations given the action information.
build(String) - Method in class org.apache.struts2.convention.SEOActionNameBuilder
buildActionConfig(String, ResultTypeConfig) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
buildActionConfigs() - Method in interface org.apache.struts2.convention.ActionConfigBuilder
  Builds all the action configurations and stores them into the XWork configuration instance via XWork dependency injetion.
buildActionConfigs() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Builds the action configurations by loading all classes in the packages specified by the property struts.convention.action.packages and then figuring out which classes implement Action or have Action in their name.
buildClassFinder(Test<String>, List<URL>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
buildConfiguration(Set<Class>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
buildExceptionMappings(ExceptionMapping[], String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
buildIndexActions(Map<String, PackageConfig.Builder>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Determine all the index handling actions and results based on this logic: 1.
buildInterceptorList(PackageConfig.Builder, InterceptorRef, Map) - Method in class org.apache.struts2.convention.DefaultInterceptorMapBuilder
buildResult(String, String, ResultTypeConfig, ActionContext) - Method in class org.apache.struts2.convention.ConventionUnknownHandler

## C

cannotInstantiate(Class<?>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Interfaces, enums, annotations, and abstract classes cannot be instantiated.
canonicalize(String) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
checkActionPackages(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Checks if class package match provided list of action packages
checkActionsAnnotation(Actions) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Builds a list of actions from an @Actions annotation, and check that they are not all empty
checkExcludePackages(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Checks if provided class package is on the exclude list
checkPackageLocators(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Checks if class package match provided list of package locators
ClasspathConfigurationProvider - Class in org.apache.struts2.convention
  Xwork will only reload configurations, if one ContainerProvider needs reloading, that's all this class does
ClasspathConfigurationProvider(Container) - Constructor for class org.apache.struts2.convention.ClasspathConfigurationProvider
ClasspathPackageProvider - Class in org.apache.struts2.convention
  This class is a configuration provider for the XWork configuration system.
ClasspathPackageProvider(Container) - Constructor for class org.apache.struts2.convention.ClasspathPackageProvider
configuration - Variable in class org.apache.struts2.convention.ConventionUnknownHandler
contains(String[], String, boolean) - Static method in class org.apache.struts2.convention.StringTools
containsMethod(Class<?>, String, Class<?>...) - Static method in class org.apache.struts2.convention.ReflectionTools
  Determines if the class given contains the method.
CONVENTION_ACTION_CONFIG_BUILDER - Static variable in class org.apache.struts2.convention.ConventionConstants
CONVENTION_ACTION_NAME_BUILDER - Static variable in class org.apache.struts2.convention.ConventionConstants
CONVENTION_CONVENTIONS_SERVICE - Static variable in class org.apache.struts2.convention.ConventionConstants
CONVENTION_INTERCEPTOR_MAP_BUILDER - Static variable in class org.apache.struts2.convention.ConventionConstants
CONVENTION_RESULT_MAP_BUILDER - Static variable in class org.apache.struts2.convention.ConventionConstants
ConventionConstants - Class in org.apache.struts2.convention
  Constants used to extend the COnvention plugin
ConventionConstants() - Constructor for class org.apache.struts2.convention.ConventionConstants
ConventionsService - Interface in org.apache.struts2.convention
  This interface defines the conventions that are used by the convention plugin.
ConventionsServiceImpl - Class in org.apache.struts2.convention
  This class is the implementation of the `ConventionsService` interface and provides all of the defaults and annotation handling.
ConventionsServiceImpl(String) - Constructor for class org.apache.struts2.convention.ConventionsServiceImpl
  Constructs a new instance.
ConventionUnknownHandler - Class in org.apache.struts2.convention
  This class is the default unknown handler for all of the Convention plugin integration with XWork.
ConventionUnknownHandler(Configuration, ObjectFactory, ServletContext, Container, String, String, String) - Constructor for class org.apache.struts2.convention.ConventionUnknownHandler
  Constructs the unknown handler.
ConventionUnknownHandler.Resource - Class in org.apache.struts2.convention
ConventionUnknownHandler.Resource(String, String) - Constructor for class org.apache.struts2.convention.ConventionUnknownHandler.Resource
createActionConfig(PackageConfig.Builder, Class<?>, String, String, Action) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Creates a single ActionConfig object.
createFromAnnotations(Map<String, ResultConfig>, String, PackageConfig, Result[], Class<?>, Map<String, ResultTypeConfig>) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
createFromResources(Class<?>, Map<String, ResultConfig>, String, String, String, PackageConfig, Map<String, ResultTypeConfig>) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Creates any result types from the resources available in the web application.
createParameterMap(String[]) - Static method in class org.apache.struts2.convention.StringTools
createResultConfig(Class<?>, DefaultResultMapBuilder.ResultInfo, PackageConfig, Result) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Creates the result configuration for the single result annotation.
createResultsFromAnnotations(Class<?>, PackageConfig, String, Map<String, ResultConfig>, Map<String, ResultTypeConfig>) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Creates results from @Results and @Result annotations

## D

DEFAULT_VALUE - Static variable in annotation type org.apache.struts2.convention.annotation.Action
DefaultActionNameBuilder - Class in org.apache.struts2.convention
  This class strips the word Action from the end of the class name and possibly lowercases the name as well depending on the value of the constant struts.convention.action.name.lowercase.
DefaultActionNameBuilder(String) - Constructor for class org.apache.struts2.convention.DefaultActionNameBuilder
DefaultInterceptorMapBuilder - Class in org.apache.struts2.convention
  Builds interceptor mappings from annotations.
DefaultInterceptorMapBuilder() - Constructor for class org.apache.struts2.convention.DefaultInterceptorMapBuilder
DefaultInterceptorRef - Annotation Type in org.apache.struts2.convention.annotation
  Defines the default interceptor for all actions in this package
defaultParentPackageName - Variable in class org.apache.struts2.convention.ConventionUnknownHandler
DefaultResultMapBuilder - Class in org.apache.struts2.convention
  This class implements the ResultMapBuilder and traverses the web application content directory looking for reasonably named JSPs and other result types as well as annotations.
DefaultResultMapBuilder(ServletContext, Container, String) - Constructor for class org.apache.struts2.convention.DefaultResultMapBuilder
  Constructs the SimpleResultMapBuilder using the given result location.
DefaultResultMapBuilder.ResultInfo - Class in org.apache.struts2.convention
DefaultResultMapBuilder.ResultInfo(String, String, PackageConfig, Map<String, ResultTypeConfig>) - Constructor for class org.apache.struts2.convention.DefaultResultMapBuilder.ResultInfo
DefaultResultMapBuilder.ResultInfo(Result, PackageConfig, String, Class<?>, Map<String, ResultTypeConfig>) - Constructor for class org.apache.struts2.convention.DefaultResultMapBuilder.ResultInfo
destroy() - Method in interface org.apache.struts2.convention.ActionConfigBuilder
destroy() - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
  Not used.
destroy() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
determineActionName(Class<?>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Converts the class name into an action name using the ActionNameBuilder.
determineActionNamespace(Class<?>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Determines the namespace(s) for the action based on the action class.
determinePath(ActionConfig, String) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
  Determines the result path prefix that the request URL is for, minus the action name.
determineResultPath(Class<?>) - Method in interface org.apache.struts2.convention.ConventionsService
  Locates the result location from annotations on the action class or the package or returns the default if no annotations are present.
determineResultPath(ActionConfig) - Method in interface org.apache.struts2.convention.ConventionsService
  Delegates to the other method but first looks up the Action's class using the given class name.
determineResultPath(Class<?>) - Method in class org.apache.struts2.convention.ConventionsServiceImpl
  Locates the result location from annotations on the action class or the package or returns the default if no annotations are present.
determineResultPath(ActionConfig) - Method in class org.apache.struts2.convention.ConventionsServiceImpl
  Delegates to the other method but first looks up the Action's class using the given class name.
dispatcherDestroyed(Dispatcher) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
dispatcherInitialized(Dispatcher) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider

## E

ExceptionMapping - Annotation Type in org.apache.struts2.convention.annotation
ExceptionMappings - Annotation Type in org.apache.struts2.convention.annotation

## F

findActions() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
findResource(Map<String, ResultTypeConfig>, String...) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
  Finds a resource using the given path parts and all of the extensions in the map.
findResult(String, String, String, ActionContext, Map<String, ResultTypeConfig>) - Method in class org.apache.struts2.convention.ConventionUnknownHandler

## G

getActionAnnotations(Class<?>) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Locates all of the `Actions` and `Action` annotations on methods within the Action class and its parent classes.
getActionClassTest() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Construct a `Test` Object that determines if a specified class should be included in the package scan based on the full `ClassFinder.ClassInfo` of the class.
getAnnotation(Class<?>, String, Class<T>) - Static method in class org.apache.struts2.convention.ReflectionTools
  Retrieves the annotation from the given method in the given class.
getClassHierarchy(Class<?>) - Static method in class org.apache.struts2.convention.ReflectionTools
  Return the list of parent classes in order (Object will be at index 0)
getClassLoader() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
getClassLoaderInterface() - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
getClassLoaderInterface() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
getClassPackageTest() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Construct a `Test` object that determines if a specified class name should be included in the package scan based on the clazz's package name.
getPackageConfig(Map<String, PackageConfig.Builder>, String, String, Class<?>, Action) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
getResultTypesByExtension(PackageConfig) - Method in interface org.apache.struts2.convention.ConventionsService
  Returns a mapping between the result type strings and the `ResultTypeConfig` instances based on the `PackageConfig` given.
getResultTypesByExtension(PackageConfig) - Method in class org.apache.struts2.convention.ConventionsServiceImpl
  Returns a mapping between the result type strings and the `ResultTypeConfig` instances based on the `PackageConfig` given.

## H

handleUnknownAction(String, String) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
handleUnknownActionMethod(Object, String) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
  Not used
handleUnknownResult(ActionContext, String, ActionConfig, String) - Method in class org.apache.struts2.convention.ConventionUnknownHandler

## I

includeClassNameInActionScan(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Note that we can't include the test for `PackageBasedActionConfigBuilder.actionSuffix` here because a class is included if its name ends in `PackageBasedActionConfigBuilder.actionSuffix` OR it implements `Action`.
init(Configuration) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
  Not used.
init(Configuration) - Method in class org.apache.struts2.convention.ClasspathPackageProvider
initReloadClassLoader() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
InterceptorMapBuilder - Interface in org.apache.struts2.convention
  This interface defines how interceptors are built from annotations.
InterceptorRef - Annotation Type in org.apache.struts2.convention.annotation
InterceptorRefs - Annotation Type in org.apache.struts2.convention.annotation
isReloadEnabled() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder

## L

loadPackages() - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
  Loads the packages using the `ActionConfigBuilder`.
loadPackages() - Method in class org.apache.struts2.convention.ClasspathPackageProvider
location - Variable in class org.apache.struts2.convention.DefaultResultMapBuilder.ResultInfo

## M

makeResults(Class<?>, String, String, Map<String, ResultConfig>, PackageConfig, Map<String, ResultTypeConfig>) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
  Makes all the results for the given path.

## N

name - Variable in class org.apache.struts2.convention.DefaultResultMapBuilder.ResultInfo
Namespace - Annotation Type in org.apache.struts2.convention.annotation
Namespaces - Annotation Type in org.apache.struts2.convention.annotation
needsReload() - Method in interface org.apache.struts2.convention.ActionConfigBuilder
needsReload() - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
  Depends on devMode, relead and actionConfigBuilder.needsReload()
needsReload() - Method in class org.apache.struts2.convention.ClasspathPackageProvider
needsReload() - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder

## O

objectFactory - Variable in class org.apache.struts2.convention.ConventionUnknownHandler
org.apache.struts2.convention - package org.apache.struts2.convention
org.apache.struts2.convention.annotation - package org.apache.struts2.convention.annotation

## P

PackageBasedActionConfigBuilder - Class in org.apache.struts2.convention
  This class implements the ActionConfigBuilder interface.
PackageBasedActionConfigBuilder(Configuration, Container, ObjectFactory, String, String) - Constructor for class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Constructs actions based on a list of packages.
ParentPackage - Annotation Type in org.apache.struts2.convention.annotation
parentPackage - Variable in class org.apache.struts2.convention.ConventionUnknownHandler

## R

ReflectionTools - Class in org.apache.struts2.convention
  This class has some reflection helpers.
ReflectionTools() - Constructor for class org.apache.struts2.convention.ReflectionTools
register(ContainerBuilder, LocatableProperties) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
  Does nothing.
Result - Annotation Type in org.apache.struts2.convention.annotation
resultMapBuilder - Variable in class org.apache.struts2.convention.ConventionUnknownHandler
ResultMapBuilder - Interface in org.apache.struts2.convention
  This interface defines how results are constructed for an Action.
ResultPath - Annotation Type in org.apache.struts2.convention.annotation
Results - Annotation Type in org.apache.struts2.convention.annotation

## S

SEOActionNameBuilder - Class in org.apache.struts2.convention
  This class converts the class name into a SEO friendly name by recognizing camel casing and inserting dashes.
SEOActionNameBuilder(String, String) - Constructor for class org.apache.struts2.convention.SEOActionNameBuilder
servletContext - Variable in class org.apache.struts2.convention.ConventionUnknownHandler
setActionPackages(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setActionSuffix(String) - Method in class org.apache.struts2.convention.DefaultActionNameBuilder
setActionSuffix(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setActionSuffix(String) - Method in class org.apache.struts2.convention.SEOActionNameBuilder
setAlwaysMapExecute(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  If this constant is true, and there is an "execute" method(not annotated), a mapping will be added pointing to it, even if there are other mapping in the class
setCheckImplementsAction(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setClassFinderFactory(ClassFinderFactory) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setConfiguration(Configuration) - Method in class org.apache.struts2.convention.DefaultInterceptorMapBuilder
setDevMode(String) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
setDevMode(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setDisableActionScanning(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setDisablePackageLocatorsScanning(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setEagerLoading(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setExcludePackages(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setExcludeParentClassLoader(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Exclude URLs found by the parent class loader.
setFileManagerFactory(FileManagerFactory) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setFileProtocols(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  File URLs whose protocol are in these list will be processed as jars containing classes
setFlatResultLayout(String) - Method in class org.apache.struts2.convention.DefaultResultMapBuilder
setIncludeJars(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setMapAllMatches(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setPackageLocators(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setPackageLocatorsBase(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
setReload(String) - Method in class org.apache.struts2.convention.ClasspathConfigurationProvider
setReload(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
  Reload configuration when classes change.
setSlashesInActionNames(String) - Method in class org.apache.struts2.convention.PackageBasedActionConfigBuilder
string(String...) - Method in class org.apache.struts2.convention.ConventionUnknownHandler
StringTools - Class in org.apache.struts2.convention
  This class is a String helper.
StringTools() - Constructor for class org.apache.struts2.convention.StringTools

## T

type - Variable in class org.apache.struts2.convention.DefaultResultMapBuilder.ResultInfo

A B C D E F G H I L M N O P R S T

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.