Package | Description |
---|---|
org.apache.tapestry5.beanvalidator |
Support for JSR-303 Bean Validation via the Hibernate validator implementation
|
org.apache.tapestry5.hibernate |
Provides support for simple CRUD applications built on top of Tapestry and Hibernate
|
org.apache.tapestry5.internal |
[INTERNAL USE ONLY] internal support classes; API subject to change.
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service 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.services |
Tapestry IOC service interfaces
|
org.apache.tapestry5.ioc.test |
Classes supporting testing of Tapestry IOC services
|
org.apache.tapestry5.jpa |
Provides support for simple CRUD applications built on top of Tapestry and JPA
|
org.apache.tapestry5.kaptcha.services |
Services supporting the Kaptcha (CAPTCHA) component
|
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.services.assets |
Various services for assets (e.g., images, JavaScript & CSS files)
|
org.apache.tapestry5.spring |
Integration of Tapestry with the Spring Inversion Of Control Container
|
org.apache.tapestry5.upload.services |
Services for the Tapestry-upload module
|
org.apache.tapestry5.yuicompressor.services |
[INTERNAL USE ONLY] support services for the YUICompressor; API subject to change
|
Modifier and Type | Method and Description |
---|---|
static void |
BeanValidatorModule.addBeanValidationStack(MappedConfiguration<String,JavaScriptStack> configuration) |
static void |
BeanValidatorModule.contributeServiceOverride(MappedConfiguration<Class,Object> configuration,
FieldValidatorDefaultSource source) |
Modifier and Type | Method and Description |
---|---|
static void |
HibernateModule.contributeApplicationStateManager(MappedConfiguration<Class,ApplicationStateContribution> configuration,
boolean entitySessionStatePersistenceStrategyEnabled,
HibernateSessionSource sessionSource)
Contributes
ApplicationStateContribution s for all registered Hibernate entity classes. |
void |
HibernateModule.contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration)
Contributes the following strategy:
entity
Stores the id of the entity and reloads from the
Session
|
static void |
HibernateModule.contributeFactoryDefaults(MappedConfiguration<String,String> configuration) |
static void |
HibernateCoreModule.contributeFactoryDefaults(MappedConfiguration<String,String> configuration) |
static void |
HibernateModule.contributePersistentFieldManager(MappedConfiguration<String,PersistentFieldStrategy> configuration)
Contributes the following:
entity
Stores the id of the entity and reloads from the
Session
|
static void |
HibernateModule.contributeValueEncoderSource(MappedConfiguration<Class,ValueEncoderFactory> configuration,
boolean provideEncoders,
HibernateSessionSource sessionSource,
org.hibernate.Session session,
TypeCoercer typeCoercer,
PropertyAccess propertyAccess,
LoggerSource loggerSource)
Contributes
ValueEncoderFactory s for all registered Hibernate entity classes. |
static void |
HibernateModule.provideInjectableSessionObject(MappedConfiguration<Class,Object> configuration,
org.hibernate.Session session) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContributionDef.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
MappedConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
InternalModule.configureControlledPackagesFromComponentClassResolver(MappedConfiguration<String,ControlledPackageType> configuration,
ComponentClassResolver resolver)
Contributes packages identified by
ComponentClassResolver.getControlledPackageMapping() . |
Modifier and Type | Method and Description |
---|---|
static void |
PageTesterModule.setupTestableOverrides(MappedConfiguration<Class,Object> configuration,
TestableRequest request,
TestableResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ContributionDef.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
MappedConfiguration configuration)
Performs the work needed to contribute into the mapped configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatingMappedConfigurationWrapper<K,V>
A wrapper around a Map that provides the
MappedConfiguration interface, and provides
two forms of validation for mapped configurations:
If either key or value is null, then a warning is logged
If the key has previously been stored (by some other ContributionDef , then a
warning is logged
When a warning is logged, the key/value pair is not added to the delegate. |
Modifier and Type | Method and Description |
---|---|
void |
ContributionDefImpl.contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
MappedConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryIOCModule.providePerthreadScope(MappedConfiguration<String,ServiceLifecycle> configuration)
Contributes the "perthread" scope.
|
static void |
TapestryIOCModule.setupDefaultSymbols(MappedConfiguration<String,Object> configuration) |
Modifier and Type | Method and Description |
---|---|
protected <K,V> MappedConfiguration<K,V> |
IOCTestCase.mockMappedConfiguration() |
Modifier and Type | Method and Description |
---|---|
static void |
KaptchaModule.factoryDefaults(MappedConfiguration<String,Object> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryModule.addApplicationAndTapestryMappings(MappedConfiguration<String,String> configuration,
String appPackage) |
static void |
TapestryModule.addMappingsForLibraryVirtualFolders(MappedConfiguration<String,String> configuration,
ComponentClassResolver resolver) |
void |
TapestryModule.contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration,
ApplicationStatePersistenceStrategy sessionStategy)
Contributes the default "session" strategy.
|
static void |
TapestryModule.contributeAssetDispatcher(MappedConfiguration<String,AssetRequestHandler> configuration,
AssetFactory contextAssetFactory,
StackAssetRequestHandler stackAssetRequestHandler,
ClasspathAssetAliasManager classpathAssetAliasManager,
ResourceStreamer streamer,
AssetResourceLocator assetResourceLocator)
Contributes an handler for each mapped classpath alias, as well handlers for context assets
and stack assets (combined
JavaScriptStack files). |
void |
TapestryModule.contributeAssetSource(MappedConfiguration<String,AssetFactory> configuration,
AssetFactory contextAssetFactory,
AssetFactory classpathAssetFactory) |
static void |
TapestryModule.contributeBindingSource(MappedConfiguration<String,BindingFactory> configuration,
BindingFactory propBindingFactory,
BindingFactory messageBindingFactory,
BindingFactory validateBindingFactory,
BindingFactory translateBindingFactory,
BindingFactory assetBindingFactory,
BindingFactory nullFieldStrategyBindingFactory,
BindingFactory contextBindingFactory,
BindingFactory symbolBindingFactory)
Contributes the factory for serveral built-in binding prefixes ("asset",
"block", "component", "literal", prop",
"nullfieldstrategy", "message", "validate", "translate", "var").
|
void |
TapestryModule.contributeComponentEventResultProcessor(ComponentEventResultProcessor componentInstanceProcessor,
MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
Contributes handlers for the following types:
Object
Failure case, added to provide a more useful exception message
Link
Sends a redirect to the link (which is typically a page render link)
String
Sends a page render redirect
Class
Interpreted as the class name of a page, sends a page render render redirect (this is more refactoring safe
than the page name)
Component
A page's root component (though a non-root component will work, but will generate a warning). |
static void |
TapestryModule.contributeDefaultDataTypeAnalyzer(MappedConfiguration<Class,String> configuration)
Maps property types to data type names:
String --> text
Number --> number
Enum --> enum
Boolean --> boolean
Date --> date
|
static void |
TapestryModule.contributeFactoryDefaults(MappedConfiguration<String,Object> configuration)
Contributes factory defaults that may be overridden.
|
static void |
TapestryModule.contributeFieldValidatorSource(MappedConfiguration<String,Validator> configuration)
Contributes the basic set of validators:
required
minlength
maxlength
min
max
regexp
email
none
|
static void |
TapestryModule.contributeHiddenFieldLocationRules(MappedConfiguration<String,RelativeElementPosition> configuration)
Determines positioning of hidden fields relative to other elements (this
is needed by
FormFragment and others. |
static void |
TapestryModule.contributeJavaScriptStackSource(MappedConfiguration<String,JavaScriptStack> configuration)
Contributes the "core" and "core-datefield"
JavaScriptStack s |
static void |
TapestryModule.contributeMetaWorker(MappedConfiguration<Class,MetaDataExtractor> configuration)
|
static void |
TapestryModule.contributeNullFieldStrategySource(MappedConfiguration<String,NullFieldStrategy> configuration)
Contributes strategies accessible via the
NullFieldStrategySource service. |
void |
TapestryModule.contributeObjectRenderer(MappedConfiguration<Class,ObjectRenderer> configuration,
ObjectRenderer locationRenderer,
TypeCoercer typeCoercer)
Contributes a default object renderer for type Object, plus specialized
renderers for
Request , Location ,
ComponentResources , EventContext ,
AvailableValues ,
List, and Object[]. |
void |
TapestryModule.contributePersistentFieldManager(MappedConfiguration<String,PersistentFieldStrategy> configuration,
Request request,
PersistentFieldStrategy clientStrategy)
|
static void |
TapestryModule.contributeSessionPersistedObjectAnalyzer(MappedConfiguration<Class,SessionPersistedObjectAnalyzer> configuration)
Identifies String, Number and Boolean as immutable objects, a catch-all
handler for Object (that understands
the
ImmutableSessionPersistedObject annotation),
and a handler for OptimizedSessionPersistedObject . |
static void |
TapestryModule.contributeTemplateParser(MappedConfiguration<String,URL> config) |
static void |
TapestryModule.contributeTranslatorSource(MappedConfiguration<Class,Translator> configuration,
NumericTranslatorSupport support)
Contributes the basic set of translators:
string
byte
short
integer
long
float
double
BigInteger
BigDecimal
|
static void |
TapestryModule.contributeValueEncoderSource(MappedConfiguration<Class,Object> configuration)
Contributes
ValueEncoder s or ValueEncoderFactory s for types:
Object
String
Enum
|
static void |
TapestryModule.productionModeOverrides(MappedConfiguration<Class,Object> configuration,
boolean productionMode)
In production mode, override
UpdateListenerHub to be an empty placeholder. |
static void |
TapestryModule.provideBaseAjaxComponentEventResultProcessors(MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
Contributes handlers for the following types:
Object
Failure case, added to provide more useful exception message
RenderCommand
Typically, a Block
Component
Renders the component and its body (unless its a page, in which case a redirect JSON response is sent)
JSONObject or JSONArray
The JSONObject is returned as a text/javascript response
StreamResponse
The stream response is sent as the actual response
String
Interprets the value as a logical page name and sends a client response to redirect to that page
Link
Sends a JSON response to redirect to the link
Class
Treats the class as a page class and sends a redirect for a page render for that page
MultiZoneUpdate
Sends a single JSON response to update the content of multiple zones
In most cases, when you want to support a new type, you should convert it to one of the built-in supported types
(such as RenderCommand . |
Modifier and Type | Method and Description |
---|---|
void |
AssetsModule.disableCompressionForImageTypes(MappedConfiguration<String,Boolean> configuration)
Disables compression for the following content types:
image/jpeg
image/gif
image/png
application/x-shockwave-flash
|
void |
AssetsModule.setupDefaultContentTypeMappings(MappedConfiguration<String,String> configuration)
Adds content types:
css
text/css
js
text/javascript
jpg, jpeg
image/jpeg
gif
image/gif
png
image/png
svg
image/svg+xml
swf
application/x-shockwave-flash
|
static void |
AssetsModule.setupSymbols(MappedConfiguration<String,String> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
SpringModule.defaultExternalSpringContextOff(MappedConfiguration<String,Object> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
UploadModule.contributeFactoryDefaults(MappedConfiguration<String,String> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
YuiCompressorModule.contributeMinimizers(MappedConfiguration<String,ResourceMinimizer> configuration)
Contibutes minimizers for
text/javascript and test/css . |
Copyright © 2003-2012 The Apache Software Foundation.