Package org.apache.tapestry5.internal.transform
package org.apache.tapestry5.internal.transform
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
-
ClassDescriptionHooks 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
.Looks for theSessionState
annotations and converts read and write access on such fields into calls to theApplicationStateManager
.Responsible for identifying, via theBindParameter
annotation, mixin fields that should be bound to a core-component parameter value.Caches method return values for methods annotated withCached
.Finds fields with theComponent
annotation and updates the model.Obtains a value from theEnvironment
service based on the field type.Supplies one parameter value when invoking a component event handler method.Used to encapsulate the list ofEventHandlerMethodParameterProvider
s for a particular method of a particular component, providingOperationTracker
behavior as parameter values are obtained/computed/coerced.Implements theImport
annotation, both at the class and at the method level.Recognizes theInjectComponent
annotation, and converts the field into a read-only field containing the component.Identifies theInjectContainer
annotation and adds code to initialize it to the core component.Processes the combination ofInject
andNamed
annotations.Performs transformations that allow pages to be injected into components.Processes theInjectService
annotation.Performs injection triggered by any field annotated with theInject
annotation or theInject
annotation.Looks for theLog
marker annotation and adds method advice to perform the logging.Manages a cache value as the result of invoking a no-arguments method.Looks for theMixinAfter
annotation and sets themixinAfter flag
if present.Supports theMixin
annotation, which allows a mixin to be part of the implementation of a component.Provides implementations of theComponent.dispatchComponentEvent(org.apache.tapestry5.runtime.ComponentEvent)
method, based onOnEvent
annotations and naming conventions.Add support for theOperation
annotation on component class methods.Provides the page activation context handlers.Similar toRenderPhaseMethodWorker
but applies to annotations/methods related to the overall page lifecycle.Implementation of thePageReset
annotation.A facade aroundBinding
andInternalComponentResources
that is used to instrument fields with theParameter
annotation.Responsible for identifying parameters via theParameter
annotation on component fields.Converts fields with thePersist
annotation into persistent fields.Worker used to gather PlasticUtils.FieldInfo instances and implement PropertyValueProvider for any class that has them.Provides the getter and setter methods.An implementation ofFieldConduit
for a read-only component field.Ensures that all components implementRenderCommand
by delegating toRenderCommand.render(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.runtime.RenderQueue)
.Converts one of the methods ofComponent
into a chain of command that, itself, invokes certain methods (render phase methods) marked with an annotation, or named in a specific way.Identifies fields with theRetain
annotation, and "claims" them so that no special work will occur on them.Looks for theSessionAttribute
annotation and converts read and write access on such fields into calls to theSession.getAttribute(String)
andSession.setAttribute(String, Object)
.Checks for theSupportsInformalParameters
annotation, settting the corresponding flag on the model if present.Designed to be just about the last worker in the pipeline.