Package | Description |
---|---|
org.apache.tapestry5.beanvalidator.modules | |
org.apache.tapestry5.clojure.modules | |
org.apache.tapestry5.hibernate.modules | |
org.apache.tapestry5.internal |
[INTERNAL USE ONLY] internal support classes; API subject to change.
|
org.apache.tapestry5.internal.test |
[INTERNAL USE ONLY] testing support implementation classes; API subject to change
|
org.apache.tapestry5.ioc.def |
Tapestry IOC service definitions
|
org.apache.tapestry5.ioc.internal |
[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
|
org.apache.tapestry5.ioc.modules | |
org.apache.tapestry5.ioc.test |
Classes supporting testing of Tapestry IOC services
|
org.apache.tapestry5.jpa.modules | |
org.apache.tapestry5.kaptcha.modules | |
org.apache.tapestry5.modules | |
org.apache.tapestry5.spring.modules | |
org.apache.tapestry5.upload.modules |
Modifier and Type | Method and Description |
---|---|
static void |
BeanValidatorModule.contributeBeanValidatorSource(OrderedConfiguration<BeanValidatorConfigurer> configuration,
ThreadLocale threadLocale) |
Modifier and Type | Method and Description |
---|---|
static void |
ClojureModule.defaultMappers(OrderedConfiguration<MethodToFunctionSymbolMapper> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
HibernateCoreModule.contributeHibernateSessionSource(OrderedConfiguration<HibernateConfigurer> config,
HibernateConfigurer defaultHibernateConfigurer)
Adds the following configurers: Default performs default hibernate configuration PackageName
loads entities by package name
|
static void |
HibernateCoreModule.contributeRegistryStartup(OrderedConfiguration<Runnable> configuration,
boolean earlyStartup,
HibernateSessionSource sessionSource) |
static void |
HibernateModule.provideCommitAfterAnnotationSupport(OrderedConfiguration<ComponentClassTransformWorker2> configuration)
Adds the CommitAfter annotation work, to process the
CommitAfter annotation. |
static void |
HibernateModule.provideHibernateDashboardTab(OrderedConfiguration<DashboardTab> configuration) |
Modifier and Type | Method and Description |
---|---|
void |
SyntheticSymbolSourceContributionDef.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
OrderedConfiguration configuration) |
void |
AbstractContributionDef.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
OrderedConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
PageTesterModule.contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration) |
static void |
PageTesterModule.contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration) |
Modifier and Type | Method and Description |
---|---|
void |
ContributionDef.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
OrderedConfiguration configuration)
Performs the work needed to contribute into the ordered configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatingOrderedConfigurationWrapper<T>
Wraps a
List as a OrderedConfiguration , implementing validation of
values provided to an OrderedConfiguration . |
Modifier and Type | Method and Description |
---|---|
void |
ContributionDefImpl.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
OrderedConfiguration configuration) |
static void |
BasicDataTypeAnalyzers.contributeDataTypeAnalyzer(OrderedConfiguration<DataTypeAnalyzer> configuration,
DataTypeAnalyzer defaultDataTypeAnalyzer) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryIOCModule.setupObjectProviders(OrderedConfiguration<ObjectProvider> configuration,
ServiceOverride serviceOverride)
AnnotationBasedContributions
Empty placeholder used to separate annotation-based ObjectProvider contributions (which come before) from
non-annotation based (such as ServiceOverride) which come after.
Value
Supports the
Value annotation
Symbol
Supports the Symbol annotations
Autobuild
Supports the Autobuild annotation
ServiceOverride
Allows simple service overrides via the ServiceOverride service
(and its configuration)
|
static void |
TapestryIOCModule.setupStandardSymbolProviders(OrderedConfiguration<SymbolProvider> configuration,
SymbolProvider applicationDefaults,
SymbolProvider factoryDefaults)
SystemProperties
Exposes JVM System properties as symbols (currently case-sensitive)
EnvironmentVariables
Exposes environment variables as symbols (adding a "env." prefix)
ApplicationDefaults
Values contributed to @
SymbolProvider @ApplicationDefaults
FactoryDefaults
Values contributed to @SymbolProvider @FactoryDefaults
|
Modifier and Type | Method and Description |
---|---|
protected <T> OrderedConfiguration<T> |
IOCTestCase.mockOrderedConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
JpaModule.provideClassTransformWorkers(OrderedConfiguration<ComponentClassTransformWorker2> configuration) |
static void |
JpaModule.provideObjectProviders(OrderedConfiguration<ObjectProvider> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
KaptchaModule.contributeDataTypeAnalyzer(OrderedConfiguration<DataTypeAnalyzer> configuration) |
static void |
KaptchaModule.provideLibraryMessages(OrderedConfiguration<Resource> configuration,
Resource kaptchaCatalog) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryModule.addBuiltInComponentLibraryInfoSources(OrderedConfiguration<ComponentLibraryInfoSource> configuration) |
static void |
TapestryModule.contributeAjaxComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration)
Contributes:
AjaxFormUpdate
AjaxFormUpdateFilter
|
void |
TapestryModule.contributeApplicationInitializer(OrderedConfiguration<ApplicationInitializerFilter> configuration,
TypeCoercer typeCoercer,
ComponentClassResolver componentClassResolver,
InvalidationEventHub invalidationEventHub,
RestoreDirtySessionObjects restoreDirtySessionObjects)
Adds a listener to the
ComponentInstantiatorSource that clears the
PropertyAccess and TypeCoercer caches on
a class loader invalidation. |
void |
TapestryModule.contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration,
RequestSecurityManager requestSecurityManager,
ComponentEventRequestHandler ajaxHandler)
Contributes filters:
Ajax
Determines if the request is Ajax oriented, and redirects to an alternative handler if so
Secure
Sends a redirect if an non-secure request accesses a secure page
|
void |
TapestryModule.contributeComponentRequestHandler(OrderedConfiguration<ComponentRequestFilter> configuration,
boolean productionMode)
Contributes:
OperationTracker
Tracks general information about the request using
OperationTracker
UnknownComponentFilter (production mode only)
ProductionModeUnknownComponentFilter - Detects request with unknown component and aborts handling to ultimately deliver a 404 response
InitializeActivePageName
InitializeActivePageName
DeferredResponseRenderer
DeferredResponseRenderer
|
static void |
TapestryModule.contributeComponentTemplateLocator(OrderedConfiguration<ComponentTemplateLocator> configuration,
AssetFactory contextAssetFactory,
String applicationFolder,
ComponentClassResolver componentClassResolver)
Contributes two template locators:
Default
Searches for the template on the classpath (
DefaultTemplateLocator
Page
Searches for page templates in the context (PageTemplateLocator )
|
static void |
TapestryModule.contributeDataTypeAnalyzer(OrderedConfiguration<DataTypeAnalyzer> configuration,
DataTypeAnalyzer defaultDataTypeAnalyzer)
Annotation
Checks for
DataType annotation
Default (ordered last)
DefaultDataTypeAnalyzer service (
TapestryModule.contributeDefaultDataTypeAnalyzer(org.apache.tapestry5.ioc.MappedConfiguration) )
|
void |
TapestryModule.contributeHttpServletRequestHandler(OrderedConfiguration<HttpServletRequestFilter> configuration,
boolean gzipCompressionEnabled,
GZipFilter gzipFilter,
HttpServletRequestFilter ignoredPathsFilter)
StoreIntoGlobals
Stores the request and response into
RequestGlobals at the start of the
pipeline
IgnoredPaths
Identifies requests that are known (via the IgnoredPathsFilter service's configuration) to be mapped to other
applications
GZip
Handles GZIP compression of response streams (if supported by client)
|
static void |
InternalModule.contributeLinkSource(OrderedConfiguration<LinkCreationListener2> configuration)
Contributes:
LinkDecoration (instance of
LinkDecorationListener )
Triggers events for notifications about links
|
void |
TapestryModule.contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration,
ModuleManager moduleManager,
boolean omitGeneratorMeta,
String tapestryVersion,
boolean productionMode,
boolean includeCoreStack,
boolean enablePageloadingMask,
ValidationDecoratorFactory validationDecoratorFactory)
Adds page render filters, each of which provides an
Environmental
service. |
static void |
TapestryModule.contributeMasterDispatcher(OrderedConfiguration<Dispatcher> configuration)
The MasterDispatcher is a chain-of-command of individual Dispatchers,
each handling (like a servlet) a particular
kind of incoming request.
|
static void |
TapestryModule.contributeMasterObjectProvider(OrderedConfiguration<ObjectProvider> configuration,
ObjectProvider assetObjectProvider,
ObjectLocator locator)
|
static void |
TapestryModule.contributeMasterStackTraceElementAnalyzer(OrderedConfiguration<StackTraceElementAnalyzer> configuration)
Contributes:
Application
Checks for classes in the application package
Proxies
Checks for classes that appear to be generated proxies.
SunReflect
Checks for
sun.reflect (which are omitted)
TapestryAOP
Omits stack frames for classes related to Tapestry AOP (such as advice, etc.)
OperationTracker
Omits stack frames related to OperationTracker
Access
Omits stack frames used to provide access to container class private members
|
void |
TapestryModule.contributePageRenderRequestHandler(OrderedConfiguration<PageRenderRequestFilter> configuration,
RequestSecurityManager securityManager)
Contributes a single filter, "Secure", which checks for non-secure
requests that access secure pages.
|
void |
TapestryModule.contributePartialMarkupRenderer(OrderedConfiguration<PartialMarkupRendererFilter> configuration,
ValidationDecoratorFactory validationDecoratorFactory)
Contributes
PartialMarkupRendererFilter s used when rendering a
partial Ajax response. |
void |
TapestryModule.contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration,
Context context,
boolean productionMode)
Continues a number of filters into the RequestHandler service:
StaticFiles
Checks to see if the request is for an actual file, if so, returns true to let the servlet container process
the request
CheckForUpdates
Periodically fires events that checks to see if the file system sources for any cached data has changed (see
CheckForUpdatesFilter ). |
static void |
TapestryModule.contributeValidationConstraintGenerator(OrderedConfiguration<ValidationConstraintGenerator> configuration)
Adds built-in constraint generators:
PrimtiveField -- primitive fields are always required
ValidateAnnotation -- adds constraints from a
Validate annotation
|
static void |
DashboardModule.defaultTabs(OrderedConfiguration<DashboardTab> configuration) |
static void |
TapestryModule.defaultWhitelist(OrderedConfiguration<WhitelistAnalyzer> configuration)
Contributes a single default analyzer:
LocalhostOnly
Identifies requests from localhost as on client whitelist
|
void |
JavaScriptModule.exposeJavaScriptSupportForFullPageRenders(OrderedConfiguration<MarkupRendererFilter> configuration,
JavaScriptStackSource javascriptStackSource,
JavaScriptStackPathConstructor javascriptStackPathConstructor,
Request request)
Adds page render filters, each of which provides an
Environmental
service. |
void |
JavaScriptModule.exposeJavaScriptSupportForPartialPageRender(OrderedConfiguration<PartialMarkupRendererFilter> configuration,
JavaScriptStackSource javascriptStackSource,
JavaScriptStackPathConstructor javascriptStackPathConstructor,
Request request)
Contributes
PartialMarkupRendererFilter s used when rendering a
partial Ajax response. |
static void |
JavaScriptModule.prepareHTMLPageOnRender(OrderedConfiguration<MarkupRendererFilter> configuration)
Contributes 'ConfigureHTMLElement', which writes the attributes into the HTML tag to describe locale, etc.
|
static void |
TapestryModule.provideStandardInjectionProviders(OrderedConfiguration<InjectionProvider2> configuration,
SymbolSource symbolSource,
AssetSource assetSource)
Default
based on
MasterObjectProvider
Named Handles fields with the Named annotation
Block
injects fields of type Block
CommonResources
Access to properties of resources (log, messages, etc.)
Asset
injection of assets (triggered via Path annotation), with the path relative to the component class
Service
Ordered last, for use when Inject is present and nothing else works, matches field type against Tapestry IoC
services
|
static void |
TapestryModule.provideTransformWorkers(OrderedConfiguration<ComponentClassTransformWorker2> configuration,
MetaWorker metaWorker,
ComponentClassResolver resolver)
Adds a number of standard component class transform workers:
Parameter
Identifies parameters based on the
Parameter annotation
BindParameter
Support for the BindParameter annotation
Property
Generates accessor methods if Property annotation is present
Import
Supports the Import annotation
UnclaimedField
Manages unclaimed fields, storing their value in a PerThreadValue
OnEvent
Handle the @OnEvent annotation, and related naming convention
RenderCommand
Ensures all components also implement RenderCommand
SupportsInformalParameters
Checks for the annotation
RenderPhase
Link in render phase methods
Retain
Allows fields to retain their values between requests
Meta
Checks for meta data annotations and adds it to the component model
PageActivationContext Support for PageActivationContext annotation
DiscardAfter Support for DiscardAfter method annotation
MixinAfter Support for the MixinAfter mixin class annotation
PageReset
Checks for the PageReset annotation
Mixin
Adds a mixin as part of a component's implementation
Cached
Checks for the Cached annotation
ActivationRequestParameter
Support for the ActivationRequestParameter annotation
PageLoaded, PageAttached, PageDetached
Support for annotations PageLoaded , PageAttached , PageDetached
InjectService
Handles the InjectService annotation
Component
Defines embedded components based on the Component annotation
Environment
Allows fields to contain values extracted from the Environment service
ApplicationState
Converts fields that reference application state objects
Persist
Allows fields to store their their value persistently between requests via Persist
SessionAttribute
Support for the SessionAttribute
Log
Checks for the Log annotation
HeartbeatDeferred
Support for the HeartbeatDeferred annotation, which defers method invocation to the end of the Heartbeat
Inject
Used with the Inject annotation, when a value is supplied
Operation Support for the Operation method annotation
|
static void |
AssetsModule.setupAssetDispatch(OrderedConfiguration<Dispatcher> configuration,
Dispatcher assetDispatcher) |
static void |
JavaScriptModule.setupCoreJavaScriptStack(OrderedConfiguration<StackExtension> configuration,
Compatibility compatibility,
String provider)
The core JavaScriptStack has a number of entries:
requirejs The RequireJS AMD JavaScript library
scriptaculous.js, effects.js Optional JavaScript libraries in compatibility mode (see
Trait.SCRIPTACULOUS )
t53-compatibility.js Optional JavaScript library (see Trait.INITIALIZERS )
underscore-library, underscore-module
The Underscore JavaScript library, and the shim that allows underscore to be injected
t5/core/init Optional module related to t53-compatibility.js
jquery-library The jQuery library
jquery-noconflict Switches jQuery to no-conflict mode (only present when the infrastructure is "prototype").
jquery A module shim that allows jQuery to be injected (and also switches jQuery to no-conflict mode)
bootstrap.css, tapestry.css, exception-frame.css, tapestry-console.css, tree.css
CSS files
t5/core/[...]
Additional JavaScript modules
jquery
Added if the infrastructure provider is "jquery".
User modules may replace or extend this list. |
static void |
AssetsModule.setupGlobalMessageCatalog(AssetSource assetSource,
Resource applicationCatalog,
OrderedConfiguration<Resource> configuration)
Contributes:
ClientLocalization
A virtual resource of formatting symbols for decimal numbers
Core
Built in messages used by Tapestry's default validators and components
AppCatalog
The Resource defined by
SymbolConstants.APPLICATION_CATALOG
|
static void |
JavaScriptModule.setupInternalJavaScriptStack(OrderedConfiguration<StackExtension> configuration) |
static void |
JavaScriptModule.setupModuleDispatchers(OrderedConfiguration<Dispatcher> configuration,
ModuleManager moduleManager,
OperationTracker tracker,
ResourceStreamer resourceStreamer,
PathConstructor pathConstructor,
JavaScriptStackSource javaScriptStackSource,
JavaScriptStackPathConstructor javaScriptStackPathConstructor,
LocalizationSetter localizationSetter,
String modulePathPrefix,
String assetPathPrefix) |
Modifier and Type | Method and Description |
---|---|
static void |
SpringModule.addSymbolSourceAsPropertyCustomizerForSpringBeans(OrderedConfiguration<ApplicationContextCustomizer> configuration,
SymbolSource symbolSource) |
void |
SpringModule.reportSpringContextDetailsAtStartup(OrderedConfiguration<ApplicationInitializerFilter> configuration,
org.springframework.context.ApplicationContext springContext) |
Modifier and Type | Method and Description |
---|---|
static void |
UploadModule.contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration)
Adds UploadException to the pipeline, between Secure and Ajax (both provided by TapestryModule).
|
static void |
UploadModule.contributeHttpServletRequestHandler(OrderedConfiguration<HttpServletRequestFilter> configuration,
MultipartDecoder multipartDecoder)
Contributes a filter, "MultipartFilter" after "IgnoredPaths".
|
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.