Package | Description |
---|---|
org.apache.tapestry5.hibernate.modules | |
org.apache.tapestry5.internal.hibernate |
[INTERNAL USE ONLY] support classes for Hibernate integration; API subject to change
|
org.apache.tapestry5.internal.jpa |
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.internal.services.meta |
[INTERNAL USE ONLY] metadata support classes; API subject to change
|
org.apache.tapestry5.internal.transform |
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
|
org.apache.tapestry5.jpa.modules | |
org.apache.tapestry5.modules | |
org.apache.tapestry5.services.meta |
Services for extracting component metadata.
|
Modifier and Type | Method and Description |
---|---|
static void |
HibernateModule.provideCommitAfterAnnotationSupport(OrderedConfiguration<ComponentClassTransformWorker2> configuration)
Adds the CommitAfter annotation work, to process the
CommitAfter annotation. |
Modifier and Type | Class and Description |
---|---|
class |
CommitAfterWorker
Searches for methods that have the
CommitAfter annotation and adds
logic around the method to commit or abort the transaction. |
Modifier and Type | Class and Description |
---|---|
class |
PersistenceContextWorker |
Constructor and Description |
---|
ComponentInstantiatorSourceImpl(org.slf4j.Logger logger,
LoggerSource loggerSource,
PlasticProxyFactory proxyFactory,
ComponentClassTransformWorker2 transformerChain,
ClasspathURLConverter classpathURLConverter,
OperationTracker tracker,
Map<String,ControlledPackageType> configuration,
boolean productionMode,
ComponentClassResolver resolver,
InternalComponentInvalidationEventHub invalidationHub) |
Modifier and Type | Class and Description |
---|---|
class |
MetaWorkerImpl |
Modifier and Type | Method and Description |
---|---|
ComponentClassTransformWorker2 |
MetaWorkerImpl.getWorker() |
Modifier and Type | Class and Description |
---|---|
class |
ActivationRequestParameterWorker
Hooks the activate event handler on the component (presumably, a page) to
extract query parameters, and hooks the link decoration events to extract values
and add them to the
Link . |
class |
ApplicationStateWorker
Looks for the
SessionState annotations and
converts read and write access on such fields into calls to the ApplicationStateManager . |
class |
BindParameterWorker
Responsible for identifying, via the
BindParameter annotation, mixin fields
that should be bound to a core-component parameter value. |
class |
CachedWorker
Caches method return values for methods annotated with
Cached . |
class |
ComponentWorker
Finds fields with the
Component annotation and updates
the model. |
class |
DiscardAfterWorker |
class |
EnvironmentalWorker
Obtains a value from the
Environment service based on the field type. |
class |
HeartbeatDeferredWorker |
class |
ImportWorker
Implements the
Import annotation, both at the class and at the method level. |
class |
InjectComponentWorker
Recognizes the
InjectComponent annotation, and converts the field into a
read-only field containing the component. |
class |
InjectContainerWorker
Identifies the
InjectContainer annotation and adds code
to initialize it to
the core component. |
class |
InjectPageWorker
Performs transformations that allow pages to be injected into components.
|
class |
InjectServiceWorker
Processes the
InjectService annotation. |
class |
InjectWorker
|
class |
LogWorker
Looks for the
Log marker annotation and adds method advice to perform the
logging. |
class |
MixinAfterWorker
Looks for the
MixinAfter annotation and sets the mixinAfter flag if present. |
class |
MixinWorker
Supports the
Mixin annotation, which allows a mixin to
be part of the
implementation of a component. |
class |
OnEventWorker
Provides implementations of the
Component.dispatchComponentEvent(org.apache.tapestry5.runtime.ComponentEvent)
method, based on OnEvent annotations and naming conventions. |
class |
OperationWorker
Add support for the
Operation annotation on component class methods. |
class |
PageActivationContextWorker
Provides the page activation context handlers.
|
class |
PageLifecycleAnnotationWorker
Similar to
RenderPhaseMethodWorker but applies to annotations/methods
related to the overall page lifecycle. |
class |
PageResetAnnotationWorker
Implementation of the
PageReset annotation. |
class |
ParameterWorker
Responsible for identifying parameters via the
Parameter annotation on
component fields. |
class |
PersistWorker
Converts fields with the
Persist annotation into persistent fields. |
class |
PropertyWorker
Provides the getter and setter methods.
|
class |
RenderCommandWorker
Ensures that all components implement
RenderCommand by delegating to
RenderCommand.render(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.runtime.RenderQueue) . |
class |
RenderPhaseMethodWorker
Converts one of the methods of
Component into a chain of
command that, itself,
invokes certain methods (render phase methods) marked with an annotation, or named in a specific
way. |
class |
RetainWorker
Identifies fields with the
Retain annotation, and "claims" them so that no
special work will occur on them. |
class |
SessionAttributeWorker
Looks for the
SessionAttribute annotation and converts read and write access on such
fields into calls to the Session.getAttribute(String) and Session.setAttribute(String, Object) . |
class |
SupportsInformalParametersWorker
Checks for the
SupportsInformalParameters annotation, settting the corresponding flag on the model if
present. |
class |
UnclaimedFieldWorker
Designed to be just about the last worker in the pipeline.
|
Modifier and Type | Method and Description |
---|---|
static void |
JpaModule.provideClassTransformWorkers(OrderedConfiguration<ComponentClassTransformWorker2> configuration) |
Modifier and Type | Method and Description |
---|---|
ComponentClassTransformWorker2 |
TapestryModule.buildComponentClassTransformWorker(List<ComponentClassTransformWorker2> configuration)
Allows the exact steps in the component class transformation process to
be defined.
|
Modifier and Type | Method and Description |
---|---|
ComponentClassTransformWorker2 |
TapestryModule.buildComponentClassTransformWorker(List<ComponentClassTransformWorker2> configuration)
Allows the exact steps in the component class transformation process to
be defined.
|
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
|
Modifier and Type | Method and Description |
---|---|
ComponentClassTransformWorker2 |
MetaWorker.getWorker()
Returns the worker that performs transformations (in 5.2, MetaWorker implemented ComponentClassTransformWorker).
|
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.